贡献者:1
讨论数量: 1

migration.stub模版调整
G02 Go API 实战
/
这节课我们来开发 make migration 命令,用以创建迁移文件。
app/cmd/make/make_migration.go
package make
import (
"fmt"
"gohub/pkg/app"
"gohub/pkg/console"
"github.com/spf13/cobra"
)
var CmdMakeMigration = &cobra.Command
本文章首发在 LearnKu.com 网站上。
粤ICP备18099781号-6
|
粤公网安备 44030502004330号
|
违法和不良信息举报
由 Summer 设计和编码 ❤