mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: format Go more aggressively
This commit is contained in:
@ -16,8 +16,10 @@ import (
|
||||
// string or an integer.
|
||||
type Duration time.Duration
|
||||
|
||||
var _ json.Marshaler = Duration(0)
|
||||
var _ json.Unmarshaler = (*Duration)(nil)
|
||||
var (
|
||||
_ json.Marshaler = Duration(0)
|
||||
_ json.Unmarshaler = (*Duration)(nil)
|
||||
)
|
||||
|
||||
// MarshalJSON implements json.Marshaler.
|
||||
func (d Duration) MarshalJSON() ([]byte, error) {
|
||||
|
Reference in New Issue
Block a user