Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Number ¶
type Number float64
Number represents a floating point number, and implements json.Unmarshaller and json.Marshaller
func (Number) MarshalJSON ¶
MarshalJSON implements json.Marshaler by formatting to a json string 1337.37 will marshal to "1337.37" 0 will marshal to an empty string: ""
func (*Number) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.