Package names - The Go Programming Language
go.dev · 1,554 words · saved by 1 readers
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Package names - The Go Programming Language The Go Blog Package names Sameer Ajmani 4 February 2015 Introduction Go code is organized into packages. Within a package, code can refer to any identifier (name) defined within, while clients of the package may only reference the package's exported types, functions, constants, and variables. Such references always include the package name as a prefix: foo.Bar refers to the exported name Bar in the imported package named foo . Good package names make code better. A package's name provides context for its contents, making it easier for clients to unde
saved by
related reading
- golang packaging, golang package structure, golang package naming convention, golang packages, go package structure, go packages tutorialgolinuxcloud.com
- Effective Go - The Go Programming Languagego.dev
- Frequently Asked Questions (FAQ) - The Go Programming Languagego.dev
- GitHub - golang-standards/project-layout: Standard Go Project Layoutgithub.com
- The Go Programming Language Specification - The Go Programming Languagego.dev
- Go at Google: Language Design in the Service of Software Engineering - The Go Programming Languagego.dev
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- Go import local package & golang import package from another directorygolinuxcloud.com
- Go go-to guide · YourBasicyourbasic.org
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- The Laws of Reflection - The Go Programming Languagego.dev