package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Nov 18, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
README
¶
Go Go
The gogo
package is a Go wrapper around the Go compiler toolchain.
Documentation
¶
- Variables
-
func GetGoPathDir(appDir string) string
-
func GetGoRootDir(appDir string) string
-
func GetTempDir() string
-
func GoBuild(config GoConfig, src string, dest string, buildmode string, tags []string, ...) ([]byte, error)
-
func GoCmd(config GoConfig, cwd string, command []string) ([]byte, error)
-
func GoVersion(config GoConfig) ([]byte, error)
-
type GoConfig
GetGoPathDir - Get the path to GOPATH
GetGoRootDir - Get the path to GOROOT
GetTempDir - Get the OS temp dir (used for GOCACHE)
GoBuild - Execute a go build command, returns stdout/error
GoCmd - Execute a go command
GoVersion - Execute a go version command, returns stdout/error
GoConfig - Env variables for Go compiler
Source Files
¶
Click to show internal directories.
Click to hide internal directories.