1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 10:10:53 +00:00

Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingoBot <bot@codelingo.io>
This commit is contained in:
CodeLingoBot 2019-03-21 16:17:56 +13:00
parent 36a17c40b0
commit 4562f47f4d

View File

@ -448,7 +448,7 @@ func MigrateReset(currpath, driver, connStr, dir string) {
migrate("reset", currpath, driver, connStr, dir) migrate("reset", currpath, driver, connStr, dir)
} }
// migrationRefresh rolls back all migrations and start over again // MigrateRefresh rolls back all migrations and start over again
func MigrateRefresh(currpath, driver, connStr, dir string) { func MigrateRefresh(currpath, driver, connStr, dir string) {
migrate("refresh", currpath, driver, connStr, dir) migrate("refresh", currpath, driver, connStr, dir)
} }