From 3971728693a551198048e5dad9d2e2d307d0670a Mon Sep 17 00:00:00 2001 From: thinkgos Date: Fri, 10 May 2024 22:21:38 +0800 Subject: [PATCH] fix: fix model command bug --- cmd/ormat/command/model.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/ormat/command/model.go b/cmd/ormat/command/model.go index b644e05..df2a298 100644 --- a/cmd/ormat/command/model.go +++ b/cmd/ormat/command/model.go @@ -128,6 +128,7 @@ func newModelCmd() *modelCmd { Version: version, PackageName: utils.GetPkgName(root.OutputDir), DisableDocComment: root.DisableDocComment, + Option: root.Option, } data, err := g.Gen().FormatSource() if err != nil {