Avatar ·

What does the ellipsis `./...` mean in Go commands?

Hello, colleagues! I just started learning Go and noticed that in documentation and tutorials, the `./...` construct often appears in commands, for example: ```bash go test ./... go build ./... go vet ./... ``` I understand that `./` means the current directory, but what does `...` do? I tried to google it but only found scattered explanations. It seems to me that it's somehow related to recursive directory traversal, but I'm not sure. For example, when I write `go test ./...`, are all packages in all nested folders tested? Or only those directly in the current directory? And if I want to test only one specific package, do I need to remove the ellipsis? I also noticed that `./...` can be used in some commands but not others. For example, `go run ./...` doesn't work.