blob: 4222921218d0c31b184c347a452f56bdd4a44f91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package internal
import (
"github.com/BurntSushi/toml"
)
func MustTOML(arg interface{}) string {
buf, err := toml.Marshal(arg)
if err != nil {
panic(err)
}
return string(buf)
}
|