mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:34:02 +03:00
Linting
This commit is contained in:
+2
-2
@@ -15,8 +15,8 @@ type Secret struct {
|
||||
Host string
|
||||
}
|
||||
|
||||
func (s *Secret) MarshalText() ([]byte, error) {
|
||||
if s == nil {
|
||||
func (s Secret) MarshalText() ([]byte, error) {
|
||||
if s.Key == nil {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user