Skip to content

Commit 262d53f

Browse files
committed
modify default embed
1 parent 448017c commit 262d53f

File tree

4 files changed

+50
-50
lines changed

4 files changed

+50
-50
lines changed

cmd/sponge/commands/generate/dao.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Examples:
4646
sponge %s dao --db-driver=mysql --db-dsn=root:123456@(192.168.3.37:3306)/test --db-table=user --out=./yourServerDir
4747
4848
# if you want the generated code to suited to mono-repo, you need to specify the parameter --suited-mono-repo=true --serverName=yourServerName
49-
`, parentName, parentName, parentName, parentName),
49+
`, parentName, parentName, parentName),
5050
SilenceErrors: true,
5151
SilenceUsage: true,
5252
RunE: func(cmd *cobra.Command, args []string) error {

cmd/sponge/commands/generate/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Examples:
3939
4040
# generate model code and specify the server directory, Note: code generation will be canceled when the latest generated file already exists.
4141
sponge %s model --db-driver=mysql --db-dsn=root:123456@(192.168.3.37:3306)/test --db-table=user --out=./yourServerDir
42-
`, parentName, parentName, parentName, parentName),
42+
`, parentName, parentName, parentName),
4343
SilenceErrors: true,
4444
SilenceUsage: true,
4545
RunE: func(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)