Documentation ¶
Overview ¶
package golang contains go related actions
Index ¶
- func ActionAnalyzers() carapace.Action
- func ActionArchitectures() carapace.Action
- func ActionBuildTags() carapace.Action
- func ActionBuildmodes() carapace.Action
- func ActionEnvironmentVariables() carapace.Action
- func ActionFuncs(files ...string) carapace.Action
- func ActionMethodOrFields(opts MethodOrFieldOpts) carapace.Action
- func ActionModuleDownloadModes() carapace.Action
- func ActionModuleSearch() carapace.Action
- func ActionModules(opts ModuleOpts) carapace.Action
- func ActionOperatingSystems() carapace.Action
- func ActionPackages() carapace.Action
- func ActionRewrites() carapace.Action
- func ActionSymbolTypes() carapace.Action
- func ActionSymbols(opts SymbolOpts) carapace.Action
- func ActionTests(opts TestOpts) carapace.Action
- func ActionTools() carapace.Action
- func ActionUnixOperatingSystems() carapace.Action
- func ActionVersions() carapace.Action
- func ActionWorkModules(path string) carapace.Action
- func ActionWorkReplacements(path string) carapace.Action
- func ActionWorkUses(path string) carapace.Action
- type MethodOrFieldOpts
- type ModuleOpts
- type SymbolOpts
- type TestOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionAnalyzers ¶
ActionAnalyzers completes analyzers
assign (check for useless assignments) atomic (check for common mistakes using the sync/atomic package)
func ActionBuildmodes ¶
ActionBuildmodes completes build modes
archive (Build the listed non-main packages into .a files) c-archive (Build the listed main package, plus all packages it imports, into a C archive file)
func ActionEnvironmentVariables ¶
ActionEnvironmentVariables completes go environment variables.
GOHOSTARCH (amd64) GOHOSTOS (linux)
func ActionMethodOrFields ¶
func ActionMethodOrFields(opts MethodOrFieldOpts) carapace.Action
ActionMethodOrFields completes methods and fields of given symbol
Cache Chdir
func ActionModuleDownloadModes ¶
ActionModuleDownloadModes completes module download modes
readonly (disable implicit automatic updating of go.mod) vendor (assumes that the vendor directory holds the correct copies of dependencies)
func ActionModuleSearch ¶
ActionModuleSearch completes git repos in module format
github.com/carapace-sh/carapace@v0.0.1 github.com/spf13/cobra@v0.0.2
func ActionModules ¶
func ActionModules(opts ModuleOpts) carapace.Action
ActionModules completes ModuleOpts
github.com/carapace-sh/carapace github.com/carapace-sh/carapace-spec@v0.0.1
func ActionPackages ¶
ActionPackages completes packages
encoding/json github.com/carapace-sh/carapace-bin/completers/go_completer
func ActionRewrites ¶
ActionRewrites completes rewrites
egl (Fixes initializers of EGLDisplay) eglconf (Fixes initializers of EGLConfig)
func ActionSymbolTypes ¶
ActionSymbolTypes completes symbol types
t (static text segment symbol) R (read-only data segment symbol)
func ActionSymbols ¶
func ActionSymbols(opts SymbolOpts) carapace.Action
ActionSymbols completes symbols of given package
Action ActionCallback
func ActionUnixOperatingSystems ¶
ActionUnixOperatingSystems completes known operating systems matched by the "unix" build tag
darwin linux
func ActionWorkModules ¶
ActionWorkModules completes workspace modules
github.com/pelletier/go-toml github.com/carapace-sh/carapace
func ActionWorkReplacements ¶
ActionWorkReplacements completes workspace replacements github.com/carapace-sh/carapace-spec (github.com/carapace-sh/carapace-spec@v0.3.0 github.com/spf13/pflag (../carapace-pflag/)
Types ¶
type MethodOrFieldOpts ¶
type ModuleOpts ¶
func (ModuleOpts) Default ¶
func (o ModuleOpts) Default() ModuleOpts