# HG changeset patch # User Christophe de Vienne <christophe@cdevienne.info> # Date 1602495265 -7200 # Mon Oct 12 11:34:25 2020 +0200 # Node ID 9a712f68c50a74e5b69a09e4c75674fdb0e5e41d # Parent 2c836efb6791db5f13ed1410ae88e0f2f6e83e19 template migration: generate bindata with NO metadata This will ensure a more stable bindata.go file. diff --git a/templates/server/migration.gotmpl b/templates/server/migration.gotmpl --- a/templates/server/migration.gotmpl +++ b/templates/server/migration.gotmpl @@ -7,7 +7,7 @@ bindata "github.com/golang-migrate/migrate/v4/source/go_bindata" ) -//go:generate go-bindata -pkg migration -prefix scripts scripts +//go:generate go-bindata -pkg migration -prefix scripts -nometadata scripts //go:generate sed -i "1s;^;// Code generated by go-bindata. DO NOT EDIT.\\n\\n;" bindata.go func initSource() source.Driver {