Documentation
¶
Index ¶
Constants ¶
View Source
const ( ERROR = "error" NEW = "new" INITIALIZED = "initialized" INSPECTED = "inspected" AUDITED = "audited" CONVERTED = "converted" )
Variables ¶
This section is empty.
Functions ¶
func Abs ¶ added in v0.0.13
Abs returns the absolute path of a JSON file.
Resolve path for current project. Add missing json extension if needed. Resolve to internal json file for known file names.
Types ¶
type Convert ¶ added in v0.22.0
type Convert struct {
PreserveCase bool
RenameConstraints bool
RenameIndexes bool
TrueValues []string
Rules []convertRule
DataTypes map[string]string
// contains filtered or unexported fields
}
func (Convert) UnusedRules ¶ added in v1.0.0
type Info ¶
type Info struct {
Creator string
Created time.Time
Driver string
Source ServerInfo
Target ServerInfo
}
type Project ¶
type Project struct {
Path string
Status string
Config Config
Info Info `json:"-"`
Source *dburl.URL `json:"-"`
Target *dburl.URL `json:"-"`
}
var Current Project
func (*Project) GuessStatus ¶ added in v0.0.10
type ServerInfo ¶ added in v0.24.0
Click to show internal directories.
Click to hide internal directories.