Skip to content

Commit

Permalink
stop using golint as it is deprecated (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedib0t committed May 18, 2022
1 parent 7a06f3f commit e314157
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -32,7 +32,6 @@ jobs:
run: |
go get -u github.com/fzipp/gocyclo/cmd/gocyclo
go get -u github.com/mattn/goveralls
go get -u golang.org/x/lint/golint
# Run all the unit-tests
- name: Test
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Expand Up @@ -6,7 +6,6 @@ all: test bench

tools:
go get github.com/fzipp/gocyclo
go get golang.org/x/lint/golint

bench:
go test -bench=. -benchmem
Expand All @@ -26,13 +25,10 @@ demo-table:
fmt:
go fmt $(shell go list ./...)

lint:
golint -set_exit_status $(shell go list ./...)

profile:
sh profile.sh

test: fmt lint vet cyclo
test: fmt vet cyclo
go test -cover -coverprofile=.coverprofile $(shell go list ./...)

test-race:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -7,5 +7,5 @@ require (
github.com/mattn/go-runewidth v0.0.13
github.com/pkg/profile v1.6.0
github.com/stretchr/testify v1.7.0
golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c
golang.org/x/sys v0.0.0-20190412213103-97732733099d
)
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -12,8 +12,8 @@ github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJ
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c h1:uHnKXcvx6SNkuwC+nrzxkJ+TpPwZOtumbhWrrOYN5YA=
golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
Expand Down
1 change: 1 addition & 0 deletions text/ansi_unix.go
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package text
Expand Down
1 change: 1 addition & 0 deletions text/ansi_windows.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package text
Expand Down

0 comments on commit e314157

Please sign in to comment.