FedP2P/bencode/misc.go

12 lines
193 B
Go

package bencode
import (
"reflect"
)
// Wow Go is retarded.
var (
marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem()
unmarshalerType = reflect.TypeOf((*Unmarshaler)(nil)).Elem()
)