Skip to content

Commit

Permalink
Fixed go sum issue (v1.1.13) (#37)
Browse files Browse the repository at this point in the history
* Fixed go sum issue

* Correct version
  • Loading branch information
torabian authored May 25, 2024
1 parent fd80139 commit ade17d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion modules/workspaces/codegen/go-new/go.mod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.21.1

require (
github.com/gin-gonic/gin v1.9.0
github.com/torabian/fireback v1.1.10
github.com/torabian/fireback v{{ .ctx.FirebackVersion }}
)

require (
Expand Down
2 changes: 0 additions & 2 deletions modules/workspaces/codegen/go-new/go.sum.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,6 @@ github.com/tdewolff/parse v2.3.4+incompatible h1:x05/cnGwIMf4ceLuDMBOdQ1qGniMoxp
github.com/tdewolff/parse v2.3.4+incompatible/go.mod h1:8oBwCsVmUkgHO8M5iCzSIDtpzXOT0WXX9cWhz+bIzJQ=
github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739 h1:IkjBCtQOOjIn03u/dMQK9g+Iw9ewps4mCl1nB8Sscbo=
github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8=
github.com/torabian/fireback v1.1.10 h1:xFXmYhhLlJFJDCIJd3fx80zhRpWn+UgVEwoL7voWN8g=
github.com/torabian/fireback v1.1.10/go.mod h1:1onAkcqPUsqoqpK9HSHgybW56nFuCfK9WIJtgfOQKJQ=
github.com/tus/tusd v1.10.0 h1:oQIxjxrSD6mjvYkqIjDlB3KVoEA1DWSzqCgWcTPP/ok=
github.com/tus/tusd v1.10.0/go.mod h1:2k5gtwQX7v1FbeYcCk1O5Sp/sOL9D9iBBtQ7n6XPyBo=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
Expand Down
19 changes: 10 additions & 9 deletions modules/workspaces/new-project-tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ func newProjectContentWriter(ctx *NewProjectContext) {
}

type NewProjectContext struct {
Name string
Path string
ModuleName string
Description string
Name string
Path string
ModuleName string
Description string
FirebackVersion string
}

func NewProjectCli() cli.Command {
Expand Down Expand Up @@ -114,11 +115,11 @@ func NewProjectCli() cli.Command {
pathd = c.String("name")
}
ctx := &NewProjectContext{
Name: c.String("name"),
Description: c.String("description"),
Path: pathd,

ModuleName: c.String("moduleName"),
Name: c.String("name"),
Description: c.String("description"),
Path: pathd,
FirebackVersion: FIREBACK_VERSION,
ModuleName: c.String("moduleName"),
}
newProjectContentWriter(ctx)
return nil
Expand Down
4 changes: 3 additions & 1 deletion modules/workspaces/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package workspaces

var FIREBACK_VERSION = "1.1.12"
// Do not change the structure of this versioning.
// a 'v' will be prefixed for go packages
var FIREBACK_VERSION = "1.1.13"

0 comments on commit ade17d8

Please sign in to comment.