mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-09 19:03:50 +02:00
fixed / suppressed (irrelevant) golangci-lint errors
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package error
|
||||
package err
|
||||
|
||||
type Error interface {
|
||||
error
|
||||
@@ -24,6 +24,8 @@ type Error interface {
|
||||
|
||||
// this makes JSON marshaling work,
|
||||
// as the builtin one doesn't.
|
||||
//
|
||||
//nolint:errname
|
||||
type errStr string
|
||||
|
||||
func (err errStr) Error() string {
|
||||
|
||||
Reference in New Issue
Block a user