Skip to content

Commit

Permalink
feat(jzero): release v0.27.2
Browse files Browse the repository at this point in the history
chore(template): update .template go-zero/model

chore(deps): bump cross-spawn (#113)

Bumps the npm_and_yarn group with 1 update in the /docs directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
jaronnie and dependabot[bot] committed Nov 19, 2024
1 parent 9b411b0 commit d940970
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .template/go-zero/model/import-no-cache.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
{{if .time}}"time"{{end}}

"github.com/zeromicro/go-zero/core/stores/builder"
"github.com/zeromicro/go-zero/core/stores/sqlc"
"github.com/zeromicro/go-zero/core/stores/sqlx"
"github.com/zeromicro/go-zero/core/stringx"
"github.com/huandu/go-sqlbuilder"
Expand Down
4 changes: 2 additions & 2 deletions .template/go-zero/model/types.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type (
}

default{{.upperStartCamelObject}}Model struct {
{{if .withCache}}cachedConn sqlc.CachedConn
conn sqlx.SqlConn{{else}}conn sqlx.SqlConn{{end}}
cachedConn sqlc.CachedConn
conn sqlx.SqlConn
table string
}

Expand Down
8 changes: 4 additions & 4 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (

// ldflags
var (
version = "0.27.1"
version = "0.27.2"
commit string
date string
)
Expand Down

0 comments on commit d940970

Please sign in to comment.