To export a name in Go, just make it’s first letter an uppercase letter. From within a package namespace you can refer to private functions and variables (starting with lower case) but from outside the package, you can only access the things exported from that package. Think public and private key word in Java.
//exported
func MyPublicFunc(){
}
//private
func myPrivateFunc(){
}