meta: initialize go modules

Updates #21
This commit is contained in:
Michael McLoughlin
2019-01-06 18:58:27 -08:00
parent ff7d8afefe
commit 80a1adc4bb
3 changed files with 23 additions and 4 deletions

View File

@@ -1,9 +1,7 @@
#!/bin/bash -ex
# Limit dependencies to golang.org/x repos
go get -u \
golang.org/x/arch/x86/... \
golang.org/x/tools/go/...
# Install go module dependencies.
go mod download
# Install golangci-lint
golangci_lint_version='v1.12.3'