File tree 6 files changed +8
-2
lines changed
6 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 42
42
- name : Lint
43
43
if : matrix.os == 'ubuntu-latest'
44
44
run : |
45
- go install golang.org/x/lint/golint@latest
46
- golint ./...
45
+ go install honnef.co/go/tools/cmd/staticcheck@2022.1.3
46
+ staticcheck -checks=all ./...
47
47
48
48
- name : Test
49
49
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.
1
2
package example
2
3
3
4
import "context"
Original file line number Diff line number Diff line change
1
+ // Package generate demonstrates how to use moq with the go:generate directive.
1
2
package generate
2
3
3
4
// 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.
1
3
package registry
2
4
3
5
import (
Original file line number Diff line number Diff line change
1
+ // Package template defines the template for the Moq generated code.
1
2
package template
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package moq provides the ability to generate mocks for interfaces.
1
2
package moq
2
3
3
4
import (
You can’t perform that action at this time.
0 commit comments