In Go, ** extension .go is a Go source file **. The file type that Go recognizes is decided.
Also, ** _test.go ** at the end when creating a file that describes a test is treated specially as one of the file types that Go recognizes.
Go source file
C source file
C ++ source file
Objective-C source file
Assembler source file
A file that defines SWIG
A system object file
These are used when working with other programming languages. Each has a special role in Go. I would like to experience when and where to use it!
Recommended Posts