Documentation
¶
Overview ¶
Package toml lets a kit product read TOML configuration files — config/config.toml, config/<env>.toml — as it reads JSON ones. kit reads JSON itself; importing this package is the whole of what a product does to read TOML, and what links the TOML codec into it:
import _ "github.com/kitsunium/sdk/framework/kit/config/toml"
A product with a TOML file and without this import is refused at the start, naming the import.
Click to show internal directories.
Click to hide internal directories.