Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentysc committed Dec 1, 2024
1 parent a4b2da2 commit cefcd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usecase/model/duration.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (d *Duration) MarshalJSON() ([]byte, error) {
return jsoniter.Marshal(d.String())
}

func (d *Duration) UnmarshalJSON(b []byte) error {
func (d Duration) UnmarshalJSON(b []byte) error {
var v interface{}
if err := jsoniter.Unmarshal(b, &v); err != nil {
return err
Expand Down

0 comments on commit cefcd88

Please sign in to comment.