No need to generate codec code definitions

SQL ASTs are never outputted to the end user, but instead are only ever encoded/decoded using CORK, so we don’t need to pre-generate any code definitions for codec (JSON, BINC, CBOR, MsgPack).
This commit is contained in:
Tobie Morgan Hitchcock 2017-04-14 13:22:29 +01:00
parent aa7e4ac561
commit 7aca98a581

View file

@ -17,6 +17,3 @@ package sql
//go:generate go get -u github.com/abcum/tmpl //go:generate go get -u github.com/abcum/tmpl
//go:generate tmpl -file=auth.gen.json auth.gen.go.tmpl //go:generate tmpl -file=auth.gen.json auth.gen.go.tmpl
//go:generate tmpl -file=kill.gen.json kill.gen.go.tmpl //go:generate tmpl -file=kill.gen.json kill.gen.go.tmpl
//go:generate go get -u github.com/ugorji/go/codec/codecgen
//go:generate codecgen -o ast.gen.go ast.go