Organize Go project and publish modules
1. Directory structure lrn_package/src/hello/main.go lrn_package/somepackage/somefile.go lrn_package/internal/somefile.go lrn_package_use/src/hello/main.go 2. Programs lrn_package/src/hello/main.go package main import ( "fmt" "github.com/kamisuzuri/lrn_package/somepackage" "github.com/kamisuzuri/lrn_package/internal" ) func AddUpper() func (int) int { var n int = 10 return func (x int) int { n = n + x return n } } func main() { ff := AddUpper() fmt.Println(ff(1)) fmt.Println(ff(2)) fmt.Println(ff(3)) disp.SomeFunction() itnldisp.SomeFunction() } lrn_package/somepackage/somefile.go package disp import "fmt" func SomeFunction() { fmt.Println("This is an public package function") } lrn_package/internal/somefile....