Linter: Spelling fixes (#1554)

This commit is contained in:
Gareth Kirwan
2024-05-28 03:19:36 +02:00
committed by GitHub
parent d6bace3995
commit c37a115fc7
7 changed files with 9 additions and 8 deletions

View File

@@ -150,7 +150,7 @@ func (a Item) IsValid() bool {
return a != Empty && supportedFlag&a == a
}
// UnmarshalJSON comforms type to the umarshaler interface
// UnmarshalJSON conforms type to the umarshaler interface
func (a *Item) UnmarshalJSON(d []byte) error {
var assetString string
err := json.Unmarshal(d, &assetString)
@@ -171,7 +171,7 @@ func (a *Item) UnmarshalJSON(d []byte) error {
return nil
}
// MarshalJSON comforms type to the marshaller interface
// MarshalJSON conforms type to the marshaller interface
func (a Item) MarshalJSON() ([]byte, error) {
return json.Marshal(a.String())
}