Registry / serialization / hairyhenderson-toml

hairyhenderson-toml

JSON →
library0.4.1gogounverified

Package toml provides facilities for decoding and encoding TOML configuration files via reflection.

go get github.com/hairyhenderson/toml
INSTALL
IMPORT
SIG · HAIRYHENDERSON-TOM
H
hairyhenderson-toml
serializationgov0.4.1
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/hairyhenderson/toml

Decodes a TOML string into a struct.

package main import ( "fmt" "github.com/hairyhenderson/toml" ) type Config struct { Title string } func main() { var cfg Config _, err := toml.Decode("title = \"Example\"", &cfg) if err != nil { panic(err) } fmt.Println(cfg.Title) }
Debug
Known issues
gotchaThis is a fork of BurntSushi/toml; ensure compatibility with your project's dependencies.
fix
Use the original BurntSushi/toml if you need broader community support.
affects: all
Upgrade
Version history
0.4.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
OpenAI (training)
1
Resources
hairyhenderson-toml — go get hairyhenderson-toml · libregistry