Skip to content

Commit 15a001c

Browse files
committed
review
1 parent 93699e7 commit 15a001c

File tree

9 files changed

+52
-575
lines changed

9 files changed

+52
-575
lines changed

.golangci.next.reference.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,13 +1208,15 @@ linters-settings:
12081208
var-require-grouping: true
12091209

12101210
iface:
1211-
# By default set to empty. Leave it empty means all analyzers are enabled.
1212-
# Default: []
1213-
enable:
1214-
- unused
1215-
- empty
1216-
- duplicate
1217-
- opaque
1211+
# Identifies interfaces that are not used anywhere in the same package where the interface is defined.
1212+
# Default: false
1213+
unused: true
1214+
# Identifies interfaces in the same package with identical methods or constraints.
1215+
# Default: false
1216+
identical: true
1217+
# Identifies functions that return interfaces, but the actual returned value is always a single concrete implementation.
1218+
# Default: false
1219+
opaque: true
12181220

12191221
importas:
12201222
# Do not allow unaliased imports of aliased packages.
@@ -2641,6 +2643,7 @@ linters:
26412643
- gosmopolitan
26422644
- govet
26432645
- grouper
2646+
- iface
26442647
- importas
26452648
- inamedparam
26462649
- ineffassign
@@ -2756,6 +2759,7 @@ linters:
27562759
- gosmopolitan
27572760
- govet
27582761
- grouper
2762+
- iface
27592763
- importas
27602764
- inamedparam
27612765
- ineffassign

0 commit comments

Comments
 (0)