Update golangci-lint to 1.40.1

This commit is contained in:
9seconds
2021-05-17 15:26:16 +03:00
parent 4c8925ab65
commit e1864377c2
21 changed files with 147 additions and 76 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (s Secret) MarshalText() ([]byte, error) {
return nil, nil
}
// MarshalText is to support text.Unmarshaller interface.
// UnmarshalText is to support text.Unmarshaller interface.
func (s *Secret) UnmarshalText(data []byte) error {
text := string(data)
if text == "" {