diff options
author | 2019-01-02 16:36:04 -0800 | |
---|---|---|
committer | 2019-01-02 16:36:04 -0800 | |
commit | fa1cf198a7c22a0f7537c565e36a19567bbde0d8 (patch) | |
tree | 05784d90af9d96ebdab015e08372c76a3cf1aac1 /glide.lock | |
parent | 4f14effe2d5e01058696fc1038255d0b2dd54179 (diff) | |
download | sally-fa1cf198a7c22a0f7537c565e36a19567bbde0d8.tar.gz sally-fa1cf198a7c22a0f7537c565e36a19567bbde0d8.tar.zst sally-fa1cf198a7c22a0f7537c565e36a19567bbde0d8.zip |
Upgrade to Go 1.11 and use modules (#33)
This commit modernizes the repository organization a bit.
In short, this,
- Upgrades to Go 1.11.
- Uses Go modules instead of Glide.
- Drops errcheck, which we rarely use in our codebase internally.
- Uses `./...` to run build, tests, etc. since that does not have to
account for vendor anymore.
- Drops `-installsuffix cgo` from the production build. This was a
workaround for pre-1.10 versions of Go. See
https://github.com/golang/go/issues/9344#issuecomment-69944514.
- Uses a tools.go as recommended in [go-modules-by-example/tools][1] to
pin to tool dependencies.
- Uses `go run` instead of `go install`ing tools globally.
[1]: https://github.com/go-modules-by-example/index/tree/master/010_tools
Tested locally with `make docker-launch`.
Diffstat (limited to 'glide.lock')
-rw-r--r-- | glide.lock | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/glide.lock b/glide.lock deleted file mode 100644 index 7e67e77..0000000 --- a/glide.lock +++ /dev/null @@ -1,43 +0,0 @@ -hash: f5c47d20486f8bbe6bbd77ef06c41209229aab49601a6671a432c24dce1ed830 -updated: 2018-12-31T11:25:19.957346842-08:00 -imports: -- name: github.com/julienschmidt/httprouter - version: 348b672cd90d8190f8240323e372ecd1e66b59dc -- name: gopkg.in/yaml.v2 - version: 51d6538a90f86fe93ac480b35f37b2be17fef232 -testImports: -- name: github.com/davecgh/go-spew - version: d8f796af33cc11cb798c1aaeb27a4ebc5099927d - subpackages: - - spew -- name: github.com/golang/lint - version: 8f45f776aaf18cebc8d65861cc70c33c60471952 - subpackages: - - golint -- name: github.com/kisielk/errcheck - version: 1787c4bee836470bf45018cfbc783650db3c6501 -- name: github.com/kisielk/gotool - version: 80517062f582ea3340cd4baf70e86d539ae7d84d -- name: github.com/pmezard/go-difflib - version: 5d4384ee4fb2527b0a1256a821ebfc92f91efefc - subpackages: - - difflib -- name: github.com/stretchr/testify - version: 660f15d67dbb878de0d9d79894f728d691c91b91 - subpackages: - - assert -- name: github.com/yosssi/gohtml - version: 97fbf36f4aa81f723d0530f5495a820ba267ae5f -- name: golang.org/x/net - version: 640f4622ab692b87c2f3a94265e6f579fe38263d - subpackages: - - html - - html/atom -- name: golang.org/x/tools - version: 4e70a1b26a7875f00ca1916637a876b5ffaeec59 - subpackages: - - go/gcimporter15 -- name: honnef.co/go/tools - version: e3ad64cb4ed3e25a30bf42def711f9cb5b004f72 - subpackages: - - cmd/staticcheck |