Mỗi file Go thuộc 1 package (package main). main package + func main() = entry point.
- Import:
import "fmt"hoặc grouped import. - Exported names (public) viết hoa chữ cái đầu:
fmt.Println. - Lowercase = unexported (private trong package).
Mỗi file Go thuộc 1 package (package main). main package + func main() = entry point.
import "fmt" hoặc grouped import.fmt.Println.Xem toàn bộ Golang cùng filter theo level & chủ đề con.
Mở danh sách Golang