Fix incorrectly formatted error string (#213)

Follow best practices from Go Review Comments:
https://github.com/golang/go/wiki/CodeReviewComments#error-strings

Closes: #202
This commit is contained in:
Lucas Bremgartner
2022-08-04 14:57:45 -07:00
committed by GitHub
parent 046f531314
commit c0510ff54a
24 changed files with 151 additions and 151 deletions
@@ -202,7 +202,7 @@ func (v *InnerQueryFragment) UnmarshalJSON(b []byte) error {
src, dst)
if err != nil {
return fmt.Errorf(
"Unable to unmarshal InnerQueryFragment.RandomItem: %w", err)
"unable to unmarshal InnerQueryFragment.RandomItem: %w", err)
}
}
}
@@ -238,7 +238,7 @@ func (v *InnerQueryFragment) __premarshalJSON() (*__premarshalInnerQueryFragment
&src)
if err != nil {
return nil, fmt.Errorf(
"Unable to marshal InnerQueryFragment.RandomItem: %w", err)
"unable to marshal InnerQueryFragment.RandomItem: %w", err)
}
}
retval.OtherVideo = v.OtherVideo