mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Linter: Spelling fixes (#1554)
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user