Place build instruction before package name

This commit is contained in:
Tobie Morgan Hitchcock 2016-12-08 22:04:22 +00:00
parent 7728c5b398
commit fa40f52302
2 changed files with 4 additions and 4 deletions

View file

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package db
//+build generate
package db
//go:generate codecgen -o db.gen.go db.go

View file

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package sql
//+build generate
package sql
//go:generate codecgen -o ast.gen.go ast.go