gotd: remove _tools package that was breaking pre-commit
This commit is contained in:
@@ -24,7 +24,7 @@ type protoConn interface {
|
||||
Ping(ctx context.Context) error
|
||||
}
|
||||
|
||||
//go:generate go run -modfile=../../../_tools/go.mod golang.org/x/tools/cmd/stringer -type=ConnMode
|
||||
//go:generate go tool golang.org/x/tools/cmd/stringer -type=ConnMode
|
||||
|
||||
// ConnMode represents connection mode.
|
||||
type ConnMode byte
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package members
|
||||
|
||||
//go:generate go run -modfile=../../../_tools/go.mod golang.org/x/tools/cmd/stringer -type=Status
|
||||
//go:generate go tool golang.org/x/tools/cmd/stringer -type=Status
|
||||
|
||||
// Status defines participant status.
|
||||
type Status int
|
||||
|
||||
Reference in New Issue
Block a user