Versions in this module Expand all Collapse all v1 v1.2.0 Jun 2, 2022 v1.1.7 Oct 14, 2021 v1.1.6 Jun 14, 2021 Changes in this version type Annotation + func (a *Annotation) Len() int v1.1.5 Apr 22, 2021 v1.1.4 Apr 14, 2021 v1.1.3 Apr 13, 2021 v1.1.2 Mar 22, 2021 v1.1.1 Mar 22, 2021 v1.1.0 Mar 18, 2021 v1.0.0 Mar 26, 2020 v0 v0.1.0 Mar 26, 2020 v0.0.1 Jan 15, 2020 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) 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