Documentation ¶
Index ¶
- Variables
- func DoRename(r Renamer, srcs string, rn ToRename) error
- func RunCmd(env map[string]string, cmd string, args ...any) error
- type ArchKind
- type Env
- type FlagCache
- type GOARCHtoArch
- type GOOSToOs
- type GenConfig
- type GenOption
- type Generator
- type OsKind
- type Renamer
- type RunEnv
- type RunWith
- type Runner
- type ToGen
- type ToRename
- type ToolConfig
- type ToolOp
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrArchNotFound = fmt.Errorf("could not map ArchKind to GOARCH value")
View Source
var ErrOsNotFound = fmt.Errorf("could not map OsKind to GOOS value")
View Source
var GenAllFlags = bit.MaskAllSet(GenMarhsal, GenLower)
Functions ¶
Types ¶
type FlagCache ¶
type FlagCache struct {
// contains filtered or unexported fields
}
func NewFlagCache ¶
func NewFlagCache() FlagCache
type GOARCHtoArch ¶
type ToolConfig ¶
func (ToolConfig) Install ¶
func (tc ToolConfig) Install(env Env) error
func (ToolConfig) RunTool ¶
func (tc ToolConfig) RunTool(env Env, tool string, args ...string) error
func (ToolConfig) Update ¶
func (tc ToolConfig) Update(env Env) error
Click to show internal directories.
Click to hide internal directories.