I usually see ./...
in golang
for example go test ./...
or go fmt ./...
only know the meaning of one or two dots
I usually see ./...
in golang
for example go test ./...
or go fmt ./...
only know the meaning of one or two dots
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: