1

Is it ok to use the master branch of lib/pq in production? When you execute go get gitlab.com/lib/pq you get the master branch, but there is a release v1.0.0. Would it be better to use releases instead of master branch?

1 Answers1

1

lib/pq

Releases

v1.0.0

Initial tagged release. No major recent changes.

Merge pull request #778 from lib/go-mod

add a go.mod file in preparation for a tagged release


lib/pq v1.0.0 adds support for Go versioned modules.

For Go1.12, consider upgrading your production code for Go versioned modules.

The first beta release of Go 1.12 is scheduled for this week (Dec, 3, 2018).


Go 1.11 Release Notes

Modules, package versioning, and dependency management

Go 1.11 adds preliminary support for a new concept called “modules,” an alternative to GOPATH with integrated support for versioning and package distribution. Using modules, developers are no longer confined to working inside GOPATH, version dependency information is explicit yet lightweight, and builds are more reliable and reproducible.

Module support is considered experimental. Details are likely to change in response to feedback from Go 1.11 users, and we have more tools planned. Although the details of module support may change, projects that convert to modules using Go 1.11 will continue to work with Go 1.12 and later. If you encounter bugs using modules, please file issues so we can fix them. For more information, see the go command documentation.

Proposal: Versioned Go Modules

Go 1.11 Modules.

peterSO
  • 158,998
  • 31
  • 281
  • 276