Documentation ¶
Index ¶
- func BuildDir(dir string, conf *Config, build *gocmd.BuildConfig) (err error)
- func BuildFiles(files []string, conf *Config, build *gocmd.BuildConfig) (err error)
- func BuildPkgPath(workDir, pkgPath string, conf *Config, build *gocmd.BuildConfig) (err error)
- func GenGo(dir string, conf *Config) (string, bool, error)
- func GenGoFiles(autogen string, files []string, conf *Config) (result []string, err error)
- func GenGoPkgPath(workDir, pkgPath string, conf *Config, allowExtern bool) (localDir string, recursively bool, err error)
- func InstallDir(dir string, conf *Config, install *gocmd.InstallConfig) (err error)
- func InstallFiles(files []string, conf *Config, install *gocmd.InstallConfig) (err error)
- func InstallPkgPath(workDir, pkgPath string, conf *Config, install *gocmd.InstallConfig) (err error)
- func LoadDir(dir string, conf *Config) (out, test *gox.Package, err error)
- func LoadFiles(files []string, conf *Config) (out *gox.Package, err error)
- func RunDir(dir string, args []string, conf *Config, run *gocmd.RunConfig) (err error)
- func RunFiles(autogen string, files []string, args []string, conf *Config, ...) (err error)
- func RunPkgPath(pkgPath string, args []string, chDir bool, conf *Config, run *gocmd.RunConfig) (err error)
- func TestDir(dir string, conf *Config, test *gocmd.TestConfig) (err error)
- func TestFiles(files []string, conf *Config, test *gocmd.TestConfig) (err error)
- func TestPkgPath(workDir, pkgPath string, conf *Config, test *gocmd.TestConfig) (err error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDir ¶ added in v1.1.0
func BuildDir(dir string, conf *Config, build *gocmd.BuildConfig) (err error)
func BuildFiles ¶ added in v1.1.0
func BuildFiles(files []string, conf *Config, build *gocmd.BuildConfig) (err error)
func BuildPkgPath ¶ added in v1.1.0
func BuildPkgPath(workDir, pkgPath string, conf *Config, build *gocmd.BuildConfig) (err error)
func GenGoFiles ¶ added in v1.1.0
func GenGoPkgPath ¶ added in v1.1.0
func InstallDir ¶ added in v1.1.0
func InstallDir(dir string, conf *Config, install *gocmd.InstallConfig) (err error)
func InstallFiles ¶ added in v1.1.0
func InstallFiles(files []string, conf *Config, install *gocmd.InstallConfig) (err error)
func InstallPkgPath ¶ added in v1.1.0
func InstallPkgPath(workDir, pkgPath string, conf *Config, install *gocmd.InstallConfig) (err error)
func RunPkgPath ¶ added in v1.1.0
func TestDir ¶ added in v1.1.0
func TestDir(dir string, conf *Config, test *gocmd.TestConfig) (err error)
func TestFiles ¶ added in v1.1.0
func TestFiles(files []string, conf *Config, test *gocmd.TestConfig) (err error)
func TestPkgPath ¶ added in v1.1.0
func TestPkgPath(workDir, pkgPath string, conf *Config, test *gocmd.TestConfig) (err error)
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package ast declares the types used to represent syntax trees for Go+ packages.
|
Package ast declares the types used to represent syntax trees for Go+ packages. |
Package cl compiles Go+ syntax trees (ast).
|
Package cl compiles Go+ syntax trees (ast). |
cmd
|
|
internal/base
Package base defines shared basic pieces of the gop command, in particular logging and the Command structure.
|
Package base defines shared basic pieces of the gop command, in particular logging and the Command structure. |
internal/build
Package build implements the “gop build” command.
|
Package build implements the “gop build” command. |
internal/gengo
Package gengo implements the “gop go” command.
|
Package gengo implements the “gop go” command. |
internal/gopfmt
Package gopfmt implements the “gop fmt” command.
|
Package gopfmt implements the “gop fmt” command. |
internal/help
Package help implements the “gop help” command.
|
Package help implements the “gop help” command. |
internal/install
Package install implements the “gop install” command.
|
Package install implements the “gop install” command. |
internal/mod
* Copyright (c) 2021 The GoPlus Authors (goplus.org).
|
* Copyright (c) 2021 The GoPlus Authors (goplus.org). |
internal/run
Package run implements the “gop run” command.
|
Package run implements the “gop run” command. |
internal/test
Package test implements the “gop test” command.
|
Package test implements the “gop test” command. |
Package format implements standard formatting of Go+ source.
|
Package format implements standard formatting of Go+ source. |
Package parser implements a parser for Go+ source files.
|
Package parser implements a parser for Go+ source files. |
Package printer implements printing of AST nodes.
|
Package printer implements printing of AST nodes. |
Package scanner implements a scanner for Go+ source text.
|
Package scanner implements a scanner for Go+ source text. |
Package token defines constants representing the lexical tokens of the Go+ programming language and basic operations on tokens (printing, predicates).
|
Package token defines constants representing the lexical tokens of the Go+ programming language and basic operations on tokens (printing, predicates). |
x
|
|
types
This package is experimental.
|
This package is experimental. |
Click to show internal directories.
Click to hide internal directories.