...

Source file src/github.com/pelletier/go-toml/v2/types.go

Documentation: github.com/pelletier/go-toml/v2

     1  package toml
     2  
     3  import (
     4  	"encoding"
     5  	"reflect"
     6  	"time"
     7  )
     8  
     9  var timeType = reflect.TypeOf((*time.Time)(nil)).Elem()
    10  var textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
    11  var textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
    12  var mapStringInterfaceType = reflect.TypeOf(map[string]interface{}(nil))
    13  var sliceInterfaceType = reflect.TypeOf([]interface{}(nil))
    14  var stringType = reflect.TypeOf("")
    15  

View as plain text