Versions in this module Expand all Collapse all v0 v0.0.3 May 18, 2024 Changes in this version + var DirsToCleanUp []string + var MainPackage string + func AddGenFn(fn any) + func AddLintFn(fn any) + func Air() error + func Clean() + func Dev() + func Dockerfiles() error + func Exec(command string) error + func Gen() error + func Generate() error + func Gobin(name string) error + func Gobins() + func Gogen(target string, _ ...any) error + func Lint() error + func Pwhash(password string) + func RunWith(dir string, env map[string]string, cmd string, args ...string) error + func SetClientDirBases(dirBases ...string) + func SetDockerfiles(dockerfiles_ ...*Dockerfile) + func SetGobinPkgs(pkgs ...*GobinPkg) + func Start() + type AirInfoParams struct + BuildPackage string + ExcludeDirs []string + TargetEnv string + var AirInfo *AirInfoParams + type Build mg.Namespace + func (Build) Cross(goarch string) error + func (Build) Native() error + type Client mg.Namespace + func (Client) Build() (err error) + type Dockerfile struct + Filename string + Goarch string + Prebuilt bool + type Env mg.Namespace + func (Env) Compose() + func (Env) Print(host string, port int, user, password, database string) + type GobinPkg struct + Name string + Tags string + Version string + type Pb mg.Namespace + func (Pb) Gen() (err error) + type Sqlc mg.Namespace + func (Sqlc) Vet() error