Documentation ¶
Overview ¶
Package distanceunit
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( In = DistanceUnit{"in"} Ft = DistanceUnit{"ft"} Yd = DistanceUnit{"yd"} Mi = DistanceUnit{"mi"} Nmi = DistanceUnit{"nmi"} Km = DistanceUnit{"km"} M = DistanceUnit{"m"} Cm = DistanceUnit{"cm"} Mm = DistanceUnit{"mm"} )
Functions ¶
This section is empty.
Types ¶
type DistanceUnit ¶
type DistanceUnit struct {
Name string
}
func (DistanceUnit) MarshalText ¶
func (d DistanceUnit) MarshalText() (text []byte, err error)
func (DistanceUnit) String ¶
func (d DistanceUnit) String() string
func (*DistanceUnit) UnmarshalText ¶
func (d *DistanceUnit) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.