Skip to content

Commit

Permalink
Fix stringer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
britannic committed Apr 9, 2023
1 parent acdb0d3 commit 95b522a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file removed edgeos-dnsmasq-blacklist_1.2.4.7_mips.deb
Binary file not shown.
Binary file removed edgeos-dnsmasq-blacklist_1.2.4.7_mipsel.deb
Binary file not shown.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/britannic/blacklist

go 1.17
go 1.20

require (
github.com/britannic/go-logging v2.0.1+incompatible
Expand Down
2 changes: 1 addition & 1 deletion internal/edgeos/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// ntype for labeling blacklist source types
type ntype int

//go:generate stringer -type=ntype
//go:generate go run golang.org/x/tools/cmd/stringer -type=ntype
// ntype label blacklist source types
const (
unknown ntype = iota // denotes a coding error
Expand Down
2 changes: 1 addition & 1 deletion internal/regx/regx.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// Leaf is a config label
type Leaf int

//go:generate stringer -type=Leaf
//ggo:generate go run golang.org/x/tools/cmd/stringer -type=Leaf
// Leaf label regx map keys
const (
CMNT Leaf = iota + 1000
Expand Down

0 comments on commit 95b522a

Please sign in to comment.