浏览代码

codec: fix package name to codec

Ugorji Nwoke 8 年之前
父节点
当前提交
aa28833c9f
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      codec/codecgen.go

+ 7 - 1
codec/codecgen.go

@@ -1,6 +1,12 @@
 // +build codecgen generated
 
-package codecgen
+package codec
+
+// this file is here, to set the codecgen variable to true
+// when the build tag codecgen is set.
+//
+// this allows us do specific things e.g. skip missing fields tests,
+// when running in codecgen mode.
 
 func init() {
 	codecgen = true