Skip to content

Commit

Permalink
deps: update to use go1.18 (#83)
Browse files Browse the repository at this point in the history
* deps: update to use go1.18

* lint: fix some lint issue
  • Loading branch information
chenrui333 authored Oct 5, 2022
1 parent 253df31 commit a7221f0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18
- name: Build
run: go build
17 changes: 10 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
module github.com/mercury2269/sqsmover

go 1.17
go 1.18

require (
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
github.com/apex/log v1.9.0
github.com/aws/aws-sdk-go v1.39.4
github.com/buger/goterm v0.0.0-20181115115552-c206103e1f37 // indirect
github.com/fatih/color v1.12.0
github.com/tj/go v1.8.7
github.com/tj/go-progress v0.0.0-20180508172012-fadc638a53dd
gopkg.in/alecthomas/kingpin.v2 v2.2.6
)

require (
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
github.com/buger/goterm v0.0.0-20181115115552-c206103e1f37 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/tj/go v1.8.7
github.com/tj/go-progress v0.0.0-20180508172012-fadc638a53dd
golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c // indirect
gopkg.in/alecthomas/kingpin.v2 v2.2.6
)
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da h1:b3NXsE2LusjYGGjL5bxEVZZORm/YEFFrWFjR8eFrw/c=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c h1:Lyn7+CqXIiC+LOR9aHD6jDK+hPcmAuCfuXztd1v4w1Q=
golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {
sess, err := session.NewSessionWithOptions(options)

if err != nil {
log.Error(color.New(color.FgRed).Sprintf("Unable to create AWS session for region \r\n", *region))
log.Error(color.New(color.FgRed).Sprintf("Unable to create AWS session for region %s \r\n", *region))
return
}

Expand Down

0 comments on commit a7221f0

Please sign in to comment.