mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-07-02 20:05:48 +00:00
15 lines
417 B
Go
15 lines
417 B
Go
|
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("")
|