Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("file not found")
Functions ¶
func MigrationName ¶ added in v0.5.0
Types ¶
type Config ¶ added in v0.5.0
type Config struct {
Root string `yaml:"-"`
Module string `yaml:"module"`
Model *Package `yaml:"model"`
Migration *Package `yaml:"migration"`
}
func LoadConfig ¶ added in v0.5.0
type PackageInfo ¶
func PkgInfo ¶
func PkgInfo(goRoot, spiceRoot string) (*PackageInfo, error)
Click to show internal directories.
Click to hide internal directories.