mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:24:03 +03:00
Update golangci-lint to 1.40.1
This commit is contained in:
+1
-1
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user