Merge pull request #30 from itsjamie/go-template-lint-errs

Golint fixes
pull/33/head
Vojtech Vitek 2017-04-13 10:23:49 -04:00 committed by GitHub
commit 1da0b166cb
1 changed files with 5 additions and 3 deletions

View File

@ -152,14 +152,16 @@ import (
)
func init() {
goose.AddMigration(Up_{{.}}, Down_{{.}})
goose.AddMigration(Up{{.}}, Down{{.}})
}
func Up_{{.}}(tx *sql.Tx) error {
// Up{{.}} updates the database to the new requirements
func Up{{.}}(tx *sql.Tx) error {
return nil
}
func Down_{{.}}(tx *sql.Tx) error {
// Down{{.}} should send the database back to the state it was from before Up was ran
func Down{{.}}(tx *sql.Tx) error {
return nil
}
`))