From efc070966317ccf3ff247ff421e66f7eca7e92d8 Mon Sep 17 00:00:00 2001 From: Chuntao Lu Date: Wed, 15 Aug 2018 17:14:00 -0700 Subject: [PATCH] Remove dev leftover --- .../build/gen-code/endpoints/bar/bar/types.go | 31 ------------------- .../endpoints/bar/bar/types_easyjson.go | 2 +- .../idl/endpoints/bar/bar.thrift | 1 - 3 files changed, 1 insertion(+), 33 deletions(-) diff --git a/examples/example-gateway/build/gen-code/endpoints/bar/bar/types.go b/examples/example-gateway/build/gen-code/endpoints/bar/bar/types.go index 91496b8cb..54ab24e4d 100644 --- a/examples/example-gateway/build/gen-code/endpoints/bar/bar/types.go +++ b/examples/example-gateway/build/gen-code/endpoints/bar/bar/types.go @@ -1793,34 +1793,3 @@ func (v *UUIDList) FromWire(w wire.Value) error { func (lhs UUIDList) Equals(rhs UUIDList) bool { return _List_UUID_Equals(lhs, rhs) } - -type Yo UUID - -// ToWire translates Yo into a Thrift-level intermediate -// representation. This intermediate representation may be serialized -// into bytes using a ThriftRW protocol implementation. -func (v Yo) ToWire() (wire.Value, error) { - x := (UUID)(v) - return x.ToWire() -} - -// String returns a readable string representation of Yo. -func (v Yo) String() string { - x := (UUID)(v) - return fmt.Sprint(x) -} - -// FromWire deserializes Yo from its Thrift-level -// representation. The Thrift-level representation may be obtained -// from a ThriftRW protocol implementation. -func (v *Yo) FromWire(w wire.Value) error { - x, err := _UUID_Read(w) - *v = (Yo)(x) - return err -} - -// Equals returns true if this Yo is equal to the provided -// Yo. -func (lhs Yo) Equals(rhs Yo) bool { - return (lhs == rhs) -} diff --git a/examples/example-gateway/build/gen-code/endpoints/bar/bar/types_easyjson.go b/examples/example-gateway/build/gen-code/endpoints/bar/bar/types_easyjson.go index db5987804..66b84cda6 100644 --- a/examples/example-gateway/build/gen-code/endpoints/bar/bar/types_easyjson.go +++ b/examples/example-gateway/build/gen-code/endpoints/bar/bar/types_easyjson.go @@ -1,6 +1,6 @@ // Code generated by zanzibar // @generated -// Checksum : 89+I+Nd4Sb31+X9uVWjDvw== +// Checksum : UVCJremPMCl9rwKPwMbYcw== // Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT. package bar diff --git a/examples/example-gateway/idl/endpoints/bar/bar.thrift b/examples/example-gateway/idl/endpoints/bar/bar.thrift index 110bd889d..0c9a18d17 100644 --- a/examples/example-gateway/idl/endpoints/bar/bar.thrift +++ b/examples/example-gateway/idl/endpoints/bar/bar.thrift @@ -8,7 +8,6 @@ typedef i64 (json.type = 'Date') Timestamp typedef i64 (json.type = "Long") Long typedef list StringList typedef list UUIDList -typedef UUID Yo enum Fruit { APPLE,