go.mod
$ go run cmd/database/migrate.go
$ go run cmd/database/migrate.go seed users
$ go run cmd/database/migrate.go seed items
go run main.go
- Before run migration you need to create a database first
go run cmd/database/migrate.go
go.mod
$ go run cmd/database/migrate.go
$ go run cmd/database/migrate.go seed users
$ go run cmd/database/migrate.go seed items
go run main.go
go run cmd/database/migrate.go