Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddrIsEmpty ¶
AddrIsEmpty will tell if an address is empty.
func AddressFmt ¶
AddressFmt returns a formatted address string from and Address interface.
func AddressFmtIndent ¶
AddressFmtIndent returns AddressFmt but with the second line indented to some length l.
Types ¶
type Address ¶
type Address struct { Street string `config:"street" json:"street"` CityName string `config:"cityname" json:"cityname"` State string `config:"state" json:"state"` Zipcode string `config:"zipcode" json:"zipcode"` }
Address represents a street address
func FromAddress ¶
FromAddress makes an obj.Address from an address interface.
func FromGob ¶ added in v0.0.3
FromGob will create a new address from binary data encoded using the gob package.
Click to show internal directories.
Click to hide internal directories.