Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NameDocLabelSelectors = []string{"Name.Prefix", "Name.First", "Name.Middle", "Name.Last", "Name.Postfix", "Name.Organization"}
Functions ¶
This section is empty.
Types ¶
type Name ¶
type Name struct { Prefix model.String `view:"size=10"` First model.String `view:"size=20|label=Given"` Middle model.String `view:"size=20"` Last model.String `view:"size=20|label=Family"` Postfix model.String `view:"size=10"` Organization model.String `view:"size=40"` }
func (*Name) SetForOrganization ¶
func (*Name) SetForPerson ¶
type PostalAddress ¶
type PostalAddress struct { FirstLine model.String `view:"size=40"` SecondLine model.String `view:"size=40"` ZIP model.String `view:"size=10"` City model.String `view:"size=20"` State model.String `view:"size=20"` Country model.Country }
func (*PostalAddress) String ¶
func (self *PostalAddress) String() string
func (*PostalAddress) StringSep ¶
func (self *PostalAddress) StringSep(sep string) string
Click to show internal directories.
Click to hide internal directories.