Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `toml:"name"` Build *Build `toml:"build,omitempty"` Exports []Export `toml:"export"` Dependencies []Dependency `toml:"dependency"` Externs []Extern `toml:"extern"` }
func LoadConfig ¶
func (*Config) Dependency ¶
func (c *Config) Dependency(name string) *Dependency
func (*Config) ResolvePackage ¶
type Dependency ¶
type Export ¶
type Export struct { Path string `toml:"path"` Module string `toml:"module,omitempty"` Group string `toml:"group"` Version string `toml:"version"` Include []string `toml:"include,omitempty"` Exclude []string `toml:"exclude,omitempty"` ExplicitNull bool `toml:"explicit-null,omitempty"` Prune bool `toml:"prune,omitempty"` Merge *Merge `toml:"merge,omitempty"` }
func (*Export) Dependency ¶
type Extern ¶
type Extern struct { Path string `toml:"path"` Package string `toml:"package"` Module string `toml:"module,omitempty"` Group string `toml:"group"` Version string `toml:"version"` }
func (*Extern) Dependency ¶
Click to show internal directories.
Click to hide internal directories.