You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ErrNoModelsFound is returned by ExportSQL when the target directory has no
// definition.go files (or none define an exported, non-NoDB model).
// Signals "nothing to export" distinctly from a successful empty schema.
// The errors of a module that lists an entity of another package (Entities: []model.Definition{me.MeModel}).
const (
errExternalNotDeclared = "Definition.Entities lists %s.%sModel, but %s declares no model.Definition named %sModel"
errExternalNotReadOnly = "Definition.Entities lists %s.%sModel from another package: only a read-only entity (Allow: model.Read, no table) can be declared outside the module"
errExternalNoImport = "Definition.Entities lists %s.%sModel, but definition.go imports no package named %s"
errExternalPackageDir = "Definition.Entities lists %s.%sModel: go list cannot find %s: %s"
)
var ErrNoModelsFound = fmt.Err("no", "models", "found")