config

package
v0.18.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const RootConfigFileName = ".ingitdb.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Language

type Language struct {
	Required string `yaml:"required,omitempty"`
	Optional string `yaml:"optional,omitempty"`
}

type RootConfig

type RootConfig struct {
	RootCollections map[string]string `yaml:"rootCollections,omitempty"`
	Languages       []Language        `yaml:"languages,omitempty"`
}

func ReadRootConfigFromFile

func ReadRootConfigFromFile(dirPath string, o ingitdb.ReadOptions) (rootConfig RootConfig, err error)

func (*RootConfig) Validate

func (rc *RootConfig) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL