You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
417 B
15 lines
417 B
2 years ago
|
package toml
|
||
|
|
||
|
import (
|
||
|
"encoding"
|
||
|
"reflect"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
var timeType = reflect.TypeOf(time.Time{})
|
||
|
var textMarshalerType = reflect.TypeOf(new(encoding.TextMarshaler)).Elem()
|
||
|
var textUnmarshalerType = reflect.TypeOf(new(encoding.TextUnmarshaler)).Elem()
|
||
|
var mapStringInterfaceType = reflect.TypeOf(map[string]interface{}{})
|
||
|
var sliceInterfaceType = reflect.TypeOf([]interface{}{})
|
||
|
var stringType = reflect.TypeOf("")
|