| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This package is not in the latest version of its module.
Go to latest Published: Mar 7, 2025 License: AGPL-3.0The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Modules with tagged versions give importers more predictable builds.
When a project reaches major version v1 it is considered stable.
This section is empty.
This section is empty.
func CLI() int
CLI runs xstruct from a Command Line Interface and returns an exit status.
type Environment struct {
// Dirpath represents the relative path to the directory that is extracted.
DirPath string
// Pkg represents the output file's package.
Pkg string
// Global represents an option which determines whether to extract global variables and constants.
Global bool
// Funcs represents an option which determines whether to extract function declarations.
Funcs bool
// Sort represents an option which determines whether to sort the extracted objects.
Sort bool
}
Environment represents the xstruct environment.
func (e *Environment) Run() (string, error)
Run runs xstruct programmatically using the given Environment's YMLPath.
| Back | FazBrowse Home | New Git URL |