mirror of
https://github.com/aykhans/dodo.git
synced 2025-09-05 10:43:37 +00:00
🎨 Format files
This commit is contained in:
@@ -32,7 +32,7 @@ func (duration *Duration) UnmarshalJSON(b []byte) error {
|
||||
}
|
||||
|
||||
func (duration Duration) MarshalJSON() ([]byte, error) {
|
||||
return json.Marshal(duration.Duration.String())
|
||||
return json.Marshal(duration.String())
|
||||
}
|
||||
|
||||
func (duration *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
||||
|
Reference in New Issue
Block a user