golang

package
v0.0.0-...-5e40cfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoEnv

type GoEnv struct {
	Version string `json:"GOVERSION"`
}

GoEnv is a struct to hold the output of `go env -json`.

type GoMainFileManager

type GoMainFileManager struct {
	// contains filtered or unexported fields
}

func (*GoMainFileManager) CanRun

func (m *GoMainFileManager) CanRun(cmdBase string) bool

CanRun checks if the command can be run by this manager.

func (*GoMainFileManager) GetCommandBaseInfoList

func (m *GoMainFileManager) GetCommandBaseInfoList() (infoList []*common.CommandBaseInfo)

func (*GoMainFileManager) Run

func (m *GoMainFileManager) Run(args []string, shouldRebuild bool) (err error)

type GoMainPackageManager

type GoMainPackageManager struct {
	// contains filtered or unexported fields
}

func (*GoMainPackageManager) CanRun

func (m *GoMainPackageManager) CanRun(cmdBase string) bool

func (*GoMainPackageManager) GetCommandBaseInfoList

func (m *GoMainPackageManager) GetCommandBaseInfoList() (infoList []*common.CommandBaseInfo)

func (*GoMainPackageManager) Run

func (m *GoMainPackageManager) Run(args []string, shouldRebuild bool) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址