Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 0.5% on proxy.golang.org
Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 1.2% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/BurntSushi/toml

Package toml implements decoding and encoding of TOML files. This package supports TOML v1.0.0, as specified at https://toml.io There is also support for delaying decoding with the Primitive type, and querying the set of keys in a TOML document with the MetaData type. The github.com/BurntSushi/toml/cmd/tomlv package implements a TOML validator, and can be used to verify if TOML document is valid. It can also be used to print the type of each key. Example StrictDecoding shows how to detect if there are keys in the TOML document that weren't decoded into the value given. This is useful for returning an error to the user if they've included extraneous fields in their configuration. Example UnmarshalTOML shows how to implement a struct type that knows how to unmarshal itself. The struct must take full responsibility for mapping the values passed into the struct. The method may be used with interfaces in a struct in cases where the actual type is not known until the data is examined. Example Unmarshaler shows how to decode TOML strings into your own custom data type.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21burnt%21sushi/toml
License: MIT
Latest release: 11 months ago
First release: almost 10 years ago
Namespace: github.com/BurntSushi
Dependent packages: 23,008
Dependent repositories: 185,064
Stars: 4,145 on GitHub
Forks: 518 on GitHub
Docker dependents: 10,452
Docker downloads: 26,529,488,101
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/arp242
Last synced: 6 days ago

    Loading...
    Readme
    Loading...