Skip to content

gutengo/toml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

var doc=`
	age = 17
`

type Config struct {
	Age int
}

var config Config
toml.Unmarshal(doc, &config)

Generic Decode

var config interface{}  // or map[string]interface{}
toml.Unmarshal(doc, &config)

Releases

No releases published

Packages

No packages published

Languages