External Packages, Projects and Libraries
This lesson discusses the Go’s flexibility to import a package, library or a project from the outer world.
Go external packages and projects
We now know how to use Go and its standard library, but the Go-ecosystem is bigger than this. When embarking on our Go-projects, it is best to first search if we can use some existing third party Go package(s) or project(s). Most of these can be installed with the go get
tool.
The place to look is here. It provides a list of indexes and search engines specific for Go packages and projects.
The index is further classified by categories such as Astronomy, Build Tools, Compression, Data Structures, Databases and Storage, Development Tools and so on. It contains a wealth of more than 500 projects, giving for each its name, a short description and a download link. Use any of the available filters to refine your search.
There is a wealth of many great external libraries, for example:
• MySQL (GoMySQL)
• PostgreSQL (go-pgsql)
• MongoDB ...