What is the definition of a Go file?

  Kiến thức lập trình

This:

go run .source.go

produces following error:

package command-line-arguments: no Go files in …

If I remove the initial dot from the file name it works fine.

What is the definition of a “Go file”? Why are hidden Go files files no Go files?

LEAVE A COMMENT