Registry / config / burntsushi-toml

burntsushi-toml

JSON →
library1.6.0gogounverified

Decodes and encodes TOML files.

go get github.com/BurntSushi/toml
INSTALL
IMPORT
SIG · BURNTSUSHI-TOML
B
burntsushi-toml
configgov1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

toml
github.com/BurntSushi/toml

Decodes a TOML string into a struct.

package main import ( "fmt" "github.com/BurntSushi/toml" ) func main() { var config struct { Title string } _, err := toml.Decode("title = \"Example\"", &config) if err != nil { panic(err) } fmt.Println(config.Title) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
44
OpenAI (training)
1
Resources
burntsushi-toml — go get burntsushi-toml · libregistry