~sircmpwn/go-bare

86af428a8287d1de3663e199459ffa13d8a2d98d — John Mulligan 2 months ago 8254757
example: update schema to match current state of rfc

The rfc no longer specifies a type after the enum name. Remove this
type specification and regenerate the example go file.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
2 files changed, 2 insertions(+), 2 deletions(-)

M example/schema.bare
M example/schema.go
M example/schema.bare => example/schema.bare +1 -1
@@ 1,7 1,7 @@
type PublicKey data<128>
type Time string # ISO 8601

enum Department u8 {
enum Department {
	ACCOUNTING
	ADMINISTRATION
	CUSTOMER_SERVICE

M example/schema.go => example/schema.go +1 -1
@@ 79,7 79,7 @@ func (t *Address) Encode() ([]byte, error) {
	return bare.Marshal(t)
}

type Department uint8
type Department uint

const (
	ACCOUNTING       Department = 0