Skip to content

Commit 8d67954

Browse files
authored
point Go templates to v2.2.0 instead of main (#2317)
CI used to take care of this when the SDKs lived in this repo and were versioned in lock-step with Spin itself. Now that neither of those are true, we'll need to update the versions manually as necessary. Once this is merged into `main`, I'll backport it to the 2.3.0 tags. Signed-off-by: Joel Dice <[email protected]>
1 parent ac98256 commit 8d67954

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

templates/http-go/content/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module github.com/{{project-name | snake_case}}
22

33
go 1.20
44

5-
require github.com/fermyon/spin/sdk/go/v2 main
5+
require github.com/fermyon/spin/sdk/go/v2 v2.2.0
66

77
require github.com/julienschmidt/httprouter v1.3.0 // indirect

templates/http-go/content/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github.com/fermyon/spin/sdk/go v1.5.1 h1:ROEw/Pooua8WjNzZJesuC4yTc3mGM7xeCIG+QSaQcvg=
2-
github.com/fermyon/spin/sdk/go v1.5.1/go.mod h1:BqOVRDNjh2LtRUX76TF6d0R+GsG7NAncgzcj0Xnjs5I=
1+
github.com/fermyon/spin/sdk/go/v2 v2.2.0 h1:zHZdIqjbUwyxiwdygHItnM+vUUNSZ3CX43jbIUemBI4=
2+
github.com/fermyon/spin/sdk/go/v2 v2.2.0/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
33
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=
44
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=

templates/redis-go/content/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/{{project-name | snake_case}}
22

33
go 1.20
44

5-
require github.com/fermyon/spin/sdk/go/v2 main
5+
require github.com/fermyon/spin/sdk/go/v2 v2.2.0

templates/redis-go/content/go.sum

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
github.com/fermyon/spin/sdk/go v1.5.1 h1:ROEw/Pooua8WjNzZJesuC4yTc3mGM7xeCIG+QSaQcvg=
2-
github.com/fermyon/spin/sdk/go v1.5.1/go.mod h1:BqOVRDNjh2LtRUX76TF6d0R+GsG7NAncgzcj0Xnjs5I=
3-
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
1+
github.com/fermyon/spin/sdk/go/v2 v2.2.0 h1:zHZdIqjbUwyxiwdygHItnM+vUUNSZ3CX43jbIUemBI4=
2+
github.com/fermyon/spin/sdk/go/v2 v2.2.0/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=

0 commit comments

Comments
 (0)