Versions in this module Expand all Collapse all v0 v0.2.0 Oct 12, 2022 v0.1.0 Sep 13, 2022 Changes in this version + const DefaultAlias + const DefaultPackage + const ID + const IDs + const Id + const Ids + const PublicSchema + const Rel + func CamelCased(s string) string + func ColumnName(s string) string + func EntityName(s string) string + func File(filename string) (*os.File, error) + func FmtAndSave(unformatted []byte, filename string) (bool, error) + func HasUpper(s string) bool + func IsLower(c byte) bool + func IsUpper(c byte) bool + func Join(schema, table string) string + func JoinF(schema, table string) string + func LowerFirst(s string) string + func PackageName(s string) string + func Quoted(fullName string, escape bool) string + func ReplaceSuffix(in, suffix, replace string) string + func Sanitize(s string) string + func Schemas(tables []string) (schemas []string) + func Singular(s string) string + func Split(s string) (string, string) + func ToLower(c byte) byte + func ToUpper(c byte) byte + func Underscore(s string) string + type Annotation struct + func NewAnnotation() *Annotation + func (a *Annotation) AddTag(name string, value string) *Annotation + func (a *Annotation) Len() int + func (a *Annotation) String() string + type Index struct + func NewIndex() Index + func (i *Index) Add(s string) + func (i *Index) Available(s string) bool + func (i *Index) GetNext(s string) string + type Set struct + func NewSet() Set + func (s *Set) Add(element string) bool + func (s *Set) Elements() []string + func (s *Set) Exists(element string) bool + func (s *Set) Len() int