package
1.9.1
Repository: https://github.com/elastic/apm-data.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewCodeGenerator takes an importPath and the package name for which the type definitions should be loaded.
NewJSONSchemaGenerator takes a parsed package information as input parameter and returns a JSONSchemaGenerator instance.
Parse loads the Go package named by the given package pattern and creates a parsed struct containing the package name, type information and some pre-defined variables It returns an error if the package cannot be successfully loaded or parsed.

# Constants

# Structs

CodeGenerator creates following struct methods `IsSet() bool` `Reset()` `validate() error` `validate() error` `processNestedSource() error` on all exported and anonymous structs that are referenced by at least one of the root types.
JSONSchemaGenerator holds the parsed package information from which it can generate a JSON schema.
Parsed contains information about a parsed package, including the package name, type information and some pre-defined variables.