Documentation ¶
Index ¶
- Variables
- 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
- type Build
- type Client
- type Dockerfile
- type Env
- type GobinPkg
- type Pb
- type Sqlc
Constants ¶
This section is empty.
Variables ¶
View Source
var DirsToCleanUp []string
View Source
var MainPackage string
Functions ¶
func AddGenFn ¶
func AddGenFn(fn any)
AddGenFn adds a function to the list of functions to generate something.
func AddLintFn ¶
func AddLintFn(fn any)
AddLintFn adds a function to the list of functions to lint something.
func Exec ¶
Exec (command string) executes the given command prioritizing binaries in .gobin/ directory.
func Pwhash ¶
func Pwhash(password string)
Pwhash (password string) prints the bcrypt hash of the specified argument.
func RunWith ¶
RunWith runs the given command prioritizing binaries in .gobin/ directory. It is not a task function.
func SetClientDirBases ¶
func SetClientDirBases(dirBases ...string)
func SetDockerfiles ¶
func SetDockerfiles(dockerfiles_ ...*Dockerfile)
func SetGobinPkgs ¶
func SetGobinPkgs(pkgs ...*GobinPkg)
Types ¶
type AirInfoParams ¶
var AirInfo *AirInfoParams
type Build ¶
func (Build) Cross ¶
Cross (goarch string: such as “amd64”, “arm64”) builds a binary for a specified architecture. Known architectures: https://github.com/golang/go/blob/105ac94486f243fc478c3a146d836302a95cdbbc/src/go/build/syslist.go#L54
type Dockerfile ¶
type Env ¶
Click to show internal directories.
Click to hide internal directories.