mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
added documentation comments to methods
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"github.com/go-pg/pg/v10"
|
||||
)
|
||||
|
||||
// Starts database migration.
|
||||
func Start(conn *pg.DB, version string) {
|
||||
migration001 := Migration{
|
||||
Version: "001",
|
||||
@@ -43,7 +44,6 @@ func Start(conn *pg.DB, version string) {
|
||||
}
|
||||
|
||||
type Migration struct {
|
||||
Version string
|
||||
Version string
|
||||
Migrations []interface{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user