davecgh / go-spew

Implements a deep pretty printer for Go data structures to aid in debugging
ISC License
5.98k stars 361 forks source link

add go.mod file + add newer go versions to travis checklist. #123

Open trusch opened 4 years ago

trusch commented 4 years ago

This PR adds a dummy go.mod file which enables better integration into IDEs and enables the versioning semantics introduced by go modules.

With this change you can reference this library easily in your projects go.mod file and resolution simply works.

For me this fixed the auto-import feature within the atom edition and the symbol resolution in emacs.

Additionally I added newer versions of go to the travis file.

devopscast commented 2 years ago

Came here to add this myself as well. looks like this duplicates PR #96. @davecgh consider this comment a +1 to get the go.mod merged.

devopscast commented 2 years ago

Offering an interim solution to others that come along; after one does a go mod vender. execute, go mod download github.com/davecgh/go-spew. IMHO not a good long term solution but did help in our environments.