douna1895 2017-03-09 09:39
浏览 419
已采纳

./…在Go中是什么意思?

I usually see ./... in golang
for example go test ./...or go fmt ./...

only know the meaning of one or two dots

  • 写回答

2条回答 默认 最新

  • douxiajia6104 2017-03-09 09:40
    关注

    It means perform the action on all packages under a directory. So for example go test ./... runs go test on the current dir + all subdirectories.

    The Go tool documentation is here:

    https://golang.org/doc/cmd

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?