August 2019
Beginner to intermediate
798 pages
17h 2m
English
Although you cannot execute a Go package if it does not include a main() function, you are still allowed to compile it and create an object file, as follows:
$ go tool compile aPackage.go $ ls -l aPackage.* -rw-r--r--@ 1 mtsouk staff 201 Jan 10 22:08 aPackage.go -rw-r--r-- 1 mtsouk staff 16316 Mar 4 20:01 aPackage.o
Read now
Unlock full access