Skip to content

Commit

Permalink
Update to go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
airenas committed Mar 28, 2022
1 parent 1bc2258 commit 1a242b5
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 301 deletions.
17 changes: 7 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,18 @@ test/unit:
## code vet and lint
test/lint:
go vet ./...
go get -u golang.org/x/lint/golint
go install golang.org/x/lint/golint@latest
golint -set_exit_status ./...
go mod tidy ## drop lint usage in mod
.PHONY: test/lint
## creates git tag for library version
git/tag:
git tag $(version)
.PHONY: git/tag
## push git tag version to github
git/push/tag:
#####################################################################################
## creates new git tag and pushes to github
git/create/version:
git tag $(version)
git push origin $(version)
.PHONY: git/push/tag
.PHONY: git/create/version
#####################################################################################
## cleans all temporary data
clean:
go clean
go mod tidy
go mod tidy -compat=1.17
.PHONY: clean
32 changes: 25 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
module github.com/airenas/go-app

go 1.15
go 1.17

require (
github.com/heralight/logrus_mate v1.0.1
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
github.com/spf13/viper v1.10.1
github.com/stretchr/testify v1.7.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/gogap/env_json v0.0.0-20150503135429-86150085ddbe // indirect
github.com/gogap/env_strings v0.0.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/heirko/go-contrib v0.0.0-20200825160048-11fc5e2235fa
github.com/heralight/logrus_mate v1.0.1
github.com/hoisie/redis v0.0.0-20160730154456-b5c6e81454e0 // indirect
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.7.0
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.3.0
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
golang.org/x/sys v0.0.0-20211210111614-af8b64212486 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/ini.v1 v1.66.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
Loading

0 comments on commit 1a242b5

Please sign in to comment.