types: revert to old wire. builds

This commit is contained in:
Ethan Buchman
2018-03-02 01:33:38 -05:00
parent 3395f5fb0e
commit 51628aea08
2 changed files with 13 additions and 5 deletions
+8
View File
@@ -36,6 +36,14 @@ func UnmarshalJSON(jsonBz []byte, ptr interface{}) error {
return wire.UnmarshalJSON(jsonBz, ptr)
}
type ConcreteType = wire.ConcreteType
func RegisterInterface(o interface{}, ctypes ...ConcreteType) *wire.TypeInfo {
return wire.RegisterInterface(o, ctypes...)
}
const RFC3339Millis = wire.RFC3339Millis
/*
func RegisterInterface(ptr interface{}, opts *wire.InterfaceOptions) {