Documentation ¶ Index ¶ func FindKeyLine(filePath string, key string) int func SortedKeys(m map[string]interface{}) []string type Config func Read(dir string) (*Config, error) func ReadDir(opencodeDir string) (*Config, error) func (c *Config) Write() error type Data Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FindKeyLine ¶ added in v0.0.7 func FindKeyLine(filePath string, key string) int func SortedKeys ¶ func SortedKeys(m map[string]interface{}) []string Types ¶ type Config ¶ type Config struct { Path string Data Data } func Read ¶ func Read(dir string) (*Config, error) func ReadDir ¶ added in v0.0.7 func ReadDir(opencodeDir string) (*Config, error) func (*Config) Write ¶ func (c *Config) Write() error type Data ¶ type Data = map[string]interface{} Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.