Versions in this module Expand all Collapse all v1 v1.0.0 May 27, 2023 Changes in this version + type Sqlize struct + func NewSqlize(opts ...SqlizeOption) *Sqlize + func (s *Sqlize) FromMigrationFolder() error + func (s *Sqlize) FromObjects(objs ...interface{}) error + func (s *Sqlize) FromString(sql string) error + func (s Sqlize) ArvoSchema(needTables ...string) []string + func (s Sqlize) Diff(old Sqlize) + func (s Sqlize) HashValue() int64 + func (s Sqlize) StringDown() string + func (s Sqlize) StringDownWithVersion(ver int64) string + func (s Sqlize) StringUp() string + func (s Sqlize) StringUpWithVersion(ver int64, dirty bool) string + func (s Sqlize) WriteFiles(name string) error + func (s Sqlize) WriteFilesVersion(name string, ver int64, dirty bool) error + func (s Sqlize) WriteFilesWithVersion(name string, ver int64, dirty bool) error + type SqlizeOption interface + func WithCommentGenerate() SqlizeOption + func WithMigrationFolder(path string) SqlizeOption + func WithMigrationSuffix(upSuffix, downSuffix string) SqlizeOption + func WithMigrationTable(table string) SqlizeOption + func WithPluralTableName() SqlizeOption + func WithPostgresql() SqlizeOption + func WithSqlLowercase() SqlizeOption + func WithSqlTag(sqlTag string) SqlizeOption + func WithSqlUppercase() SqlizeOption