File tree Expand file tree Collapse file tree 6 files changed +9
-3
lines changed
Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ jobs:
4040 run : go vet ./...
4141
4242 - name : Lint
43- if : matrix.os == 'ubuntu-latest'
43+ if : matrix.os == 'ubuntu-latest' && go-version == '1.19.x'
4444 run : |
45- go install golang.org/x/lint/golint@latest
46- golint ./...
45+ go install honnef.co/go/tools/cmd/staticcheck@2023.1.3
46+ staticcheck -checks=all ./...
4747
4848 - name : Test
4949 run : go test ./...
Original file line number Diff line number Diff line change 1+ // Package example demonstrates how to use moq with the go:generate directive.
12package example
23
34import "context"
Original file line number Diff line number Diff line change 1+ // Package generate demonstrates how to use moq with the go:generate directive.
12package generate
23
34// In a terminal, run `go generate` in this directory to have
Original file line number Diff line number Diff line change 1+ // Package registry provides the ability to encapsulate type information for the
2+ // source and mock destination package.
13package registry
24
35import (
Original file line number Diff line number Diff line change 1+ // Package template defines the template for the Moq generated code.
12package template
23
34import (
Original file line number Diff line number Diff line change 1+ // Package moq provides the ability to generate mocks for interfaces.
12package moq
23
34import (
You can’t perform that action at this time.
0 commit comments