Categorygithub.com/codyoss/makr
modulepackage
1.1.0
Repository: https://github.com/codyoss/makr.git
Documentation: pkg.go.dev

# Functions

GoFmt is command that will use `goimports` if available, or fail back to `gofmt` otherwise.
GoGet downloads and installs packages and dependencies.
GoInstall compiles and installs packages and dependencies.
New Generator.
NewCommand ready to run.
NewFile set up with sensible defaults.

# Variables

Helpers that are automatically injected into templates.

# Structs

Command wraps an exec.Cmd to be run.
File to generate.
Func to be run as a generator.
Generator is the top level construct that holds all of the Runnables.
RemoteFile represents a remote file (URL) that you want to pull down and write into the project.

# Interfaces

Runnable interface must be implemented to be considered a runnable generator.

# Type aliases

Data to be passed into generators.
RunFn interface for a function that can be used as a runner.
ShouldFunc decides whether a generator should be run or not.