贡献者: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 网站上。