From 7aca98a581ffd06031189b185e696c0f74591974 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 14 Apr 2017 13:22:29 +0100 Subject: [PATCH] No need to generate codec code definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- sql/gen.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/sql/gen.go b/sql/gen.go index f04ced49..f46a7dce 100644 --- a/sql/gen.go +++ b/sql/gen.go @@ -17,6 +17,3 @@ package sql //go:generate go get -u github.com/abcum/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 go get -u github.com/ugorji/go/codec/codecgen -//go:generate codecgen -o ast.gen.go ast.go