gbr/shared/toml

Gleam shared file toml parser.

Types

pub type Toml =
  dict.Dict(String, tom.Toml)

Values

pub fn get_string(
  toml: dict.Dict(String, tom.Toml),
  key: List(String),
) -> Result(String, String)

Get name from toml file.

  • file The string/path location of toml file.
pub fn parse(
  file: String,
) -> Result(dict.Dict(String, tom.Toml), String)

Parse toml file.

  • file The string/path location of toml file.
Search Document