Skip to content

Commit

Permalink
Merge pull request #28 from algorand/shim-duration
Browse files Browse the repository at this point in the history
support msgp:shim for time.Duration
  • Loading branch information
cce authored Aug 15, 2023
2 parents ff344f8 + 586946e commit a646e1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen/elem.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,8 @@ func (s *BaseElem) BaseType() string {
return "[]byte"
case Time:
return "time.Time"
case Duration:
return "time.Duration"
case Ext:
return "msgp.Extension"

Expand Down

0 comments on commit a646e1d

Please sign in to comment.