Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Project ProjectConfig `toml:"project"`
Dependencies DependenciesConfig `toml:"dependencies"`
}
Config represents the polyloft.toml configuration file structure
func LoadDefault ¶
LoadDefault attempts to load polyloft.toml from the current directory
type DependenciesConfig ¶
type DependenciesConfig struct {
Go []GoDependency `toml:"go"`
Pf []PfDependency `toml:"pf"`
}
DependenciesConfig contains both Go and Polyloft library dependencies
type GoDependency ¶
GoDependency represents a Go library dependency for compatibility
type PfDependency ¶
type PfDependency struct {
Name string `toml:"name"`
Version string `toml:"version"`
Source string `toml:"source,omitempty"` // Optional: custom source URL
}
PfDependency represents a Polyloft library dependency
type ProjectConfig ¶
type ProjectConfig struct {
EntryPoint string `toml:"entry_point"`
Name string `toml:"name"`
Version string `toml:"version"`
}
ProjectConfig contains project-level settings
Click to show internal directories.
Click to hide internal directories.