Documentation
¶
Index ¶
- func ExistsConfig() bool
- func ExpandPath(path string) string
- type Build
- type Command
- type Config
- type DockerCommand
- type GoCommand
- func (c *GoCommand) AddEnv(env []string)
- func (c *GoCommand) Build(args ...string) error
- func (c *GoCommand) EnableCrossBuild(container string)
- func (c *GoCommand) Run(args ...string) error
- func (c *GoCommand) RunInGoContext(args ...string) error
- func (c *GoCommand) SetDir(dir string)
- func (c *GoCommand) Test(args ...string) error
- type Host
- type Reloader
- type Run
- type Task
- type Watch
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsConfig ¶
func ExistsConfig() bool
func ExpandPath ¶ added in v0.0.5
Types ¶
type Config ¶
type Config struct {
Host *Host `yaml:"host,omitempty"`
Build *Build `yaml:"build,omitempty"`
Run *Run `yaml:"run,omitempty"`
Watch *Watch `yaml:"watch,omitempty"`
Task map[string]*Task `yaml:"task,omitempty"`
}
func LoadConfig ¶
type DockerCommand ¶
type DockerCommand struct {
// contains filtered or unexported fields
}
func NewDockerCommand ¶
func NewDockerCommand(container string, cmd ...string) *DockerCommand
func (*DockerCommand) Output ¶
func (c *DockerCommand) Output() ([]byte, error)
func (*DockerCommand) Run ¶
func (c *DockerCommand) Run() error
type GoCommand ¶
type GoCommand struct {
// contains filtered or unexported fields
}
func NewGoCommand ¶
func NewGoCommand() *GoCommand
func (*GoCommand) EnableCrossBuild ¶
func (*GoCommand) RunInGoContext ¶ added in v0.0.10
type Reloader ¶
type Reloader struct {
// contains filtered or unexported fields
}
func NewReloader ¶
func (*Reloader) IsEnabledReload ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
_examples
|
|
|
01_running_on_localhost
command
|
|
|
02_running_with_docker
command
|
|
|
03_cli/cmd/cli
command
|
|
|
cmd
|
|
|
rebirth
command
|
|
|
internal
|
|
Click to show internal directories.
Click to hide internal directories.




