File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 - name : Lint
4343 if : matrix.os == 'ubuntu-latest'
4444 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 ./...
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