Documentation ¶ Index ¶ func Generate(s *schema.Field, opts option.Options) ([]byte, error) func GenerateWithCache(s *schema.Field, opts option.Options, cache *NameCache) ([]byte, error) type NameCache func NewNameCache() *NameCache Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(s *schema.Field, opts option.Options) ([]byte, error) func GenerateWithCache ¶ added in v0.1.6 func GenerateWithCache(s *schema.Field, opts option.Options, cache *NameCache) ([]byte, error) Types ¶ type NameCache ¶ added in v0.1.6 type NameCache = nameCache func NewNameCache ¶ added in v0.1.6 func NewNameCache() *NameCache Source Files ¶ View all Source files golang.gonames.go Click to show internal directories. Click to hide internal directories.