Developing your own packages
At some point, you are going to need to develop your own packages to organize your code and distribute it if needed. As stated at the beginning of this chapter, everything that begins with an uppercase letter is considered public and can be accessed from outside its package, whereas all other elements are considered private. The only exception to this Go rule is package names—it is a best practice to use lowercase package names, even though uppercase package names are allowed.
Compiling a Go package can be done manually, if the package exists on the local machine, but it is also done automatically after you download the package from the internet, so there is no need to worry about that. Additionally, if the package you are downloading contains any errors, you will learn about them when you try to download it.
However, if you want to compile a package that has been saved in the sqlite06.go
file (a combination of SQLite and Chapter 06) on...