Skip to content

Commit 53431ec

Browse files
Update go to 1.17 (#42)
1 parent 42dc345 commit 53431ec

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
test:
44
working_directory: /go/src/github.com/segmentio/golines
55
docker:
6-
- image: circleci/golang:1.13
6+
- image: circleci/golang:1.17
77
environment:
88
GO111MODULE: 'on'
99
steps:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Coverage](https://img.shields.io/badge/Go%20Coverage-84%25-brightgreen.svg?longCache=true&style=flat)](https://gocover.io/github.com/segmentio/golines?version=1.13.x)
55

66
# golines
7+
78
Golines is a golang formatter that shortens long lines, in addition to all
89
of the formatting fixes done by [`gofmt`](https://golang.org/cmd/gofmt/).
910

@@ -49,7 +50,7 @@ view of a file with very long lines. More example pairs can be found in the
4950
First, install the tool:
5051

5152
```
52-
go get -u github.com/segmentio/golines
53+
go install github.com/segmentio/golines@latest
5354
```
5455

5556
Then, run:

go.mod

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
11
module github.com/segmentio/golines
22

3-
go 1.16
3+
go 1.17
44

55
require (
6-
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
7-
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
86
github.com/dave/dst v0.26.2
97
github.com/dave/jennifer v1.2.0
108
github.com/fatih/structtag v1.2.0
9+
github.com/sirupsen/logrus v1.4.2
10+
github.com/stretchr/testify v1.4.0
11+
github.com/x-cray/logrus-prefixed-formatter v0.5.2
12+
gopkg.in/alecthomas/kingpin.v2 v2.2.6
13+
)
14+
15+
require (
16+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
17+
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
18+
github.com/davecgh/go-spew v1.1.1 // indirect
1119
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
1220
github.com/mattn/go-colorable v0.1.4 // indirect
1321
github.com/mattn/go-isatty v0.0.10 // indirect
1422
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
1523
github.com/onsi/ginkgo v1.10.2 // indirect
1624
github.com/onsi/gomega v1.7.0 // indirect
17-
github.com/sirupsen/logrus v1.4.2
18-
github.com/stretchr/testify v1.4.0
19-
github.com/x-cray/logrus-prefixed-formatter v0.5.2
25+
github.com/pmezard/go-difflib v1.0.0 // indirect
26+
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect
2027
golang.org/x/sys v0.0.0-20191024172528-b4ff53e7a1cb // indirect
21-
gopkg.in/alecthomas/kingpin.v2 v2.2.6
28+
golang.org/x/tools v0.0.0-20200509030707-2212a7e161a5 // indirect
29+
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect
30+
gopkg.in/yaml.v2 v2.2.2 // indirect
2231
)

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
const (
19-
versionStr = "0.5.0"
19+
versionStr = "0.6.0"
2020
)
2121

2222
var (

0 commit comments

Comments
 (0)