Mastering-Go-Second-Edition/ch06/aPackage.go
2019-01-10 22:09:57 +02:00

16 lines
201 B
Go

package aPackage
import (
"fmt"
)
func A() {
fmt.Println("This is function A!")
}
func B() {
fmt.Println("privateConstant:", privateConstant)
}
const MyConstant = 123
const privateConstant = 21