Documentation ¶
Index ¶
- Constants
- func Build(goos string, goarch string, output string, target string)
- func Clean()
- func CreateFromTemplate(templateName string, projectName string)
- func Exists(filePath string) (bool, error)
- func ModFileCreate(name string, workingDirectory string)
- func PkgAdd(uri string, name string, private bool, update bool, recursive bool)
- func PkgDelete(name string) bool
- func PkgFileCreate(name string, version string)
- func PkgFileLoad()
- func PkgFileNew(name string, version string)
- func PkgRestore(recursive bool, update bool)
- func Run(cmd string, args string, workingDirectory *string) error
- func Setup()
- func Tidy()
- func Write()
- type OperatingSystems
- type Package
- type PackageValue
Constants ¶
View Source
const ( GREEN = "#00ff5f" YELLOW = "#ffef00" RED = "#ff0001" )
Variables ¶
This section is empty.
Functions ¶
func CreateFromTemplate ¶
func ModFileCreate ¶
func PkgFileCreate ¶
func PkgFileLoad ¶
func PkgFileLoad()
func PkgFileNew ¶
func PkgRestore ¶
Types ¶
type OperatingSystems ¶
type OperatingSystems string
const ( LINUX OperatingSystems = "linux" WINDOWS OperatingSystems = "windows" MAC OperatingSystems = "mac" )
type Package ¶
type Package struct { Name string `json:"Name"` Version string `json:"Version"` Packages map[string]PackageValue `json:"Packages"` }
type PackageValue ¶
Click to show internal directories.
Click to hide internal directories.