Skip to content

Commit c1011ac

Browse files
authored
Merge pull request #3198 from adamreese/fix/go-template-v2
fix(templates/http-go): fix go.mod in go templates
2 parents aa46a55 + b8ef4ac commit c1011ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.22
44

5-
require github.com/spinframework/spin-go-sdk v2.2.1
5+
require github.com/spinframework/spin-go-sdk/v2 v2.2.1
66

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

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.22
44

5-
require github.com/spinframework/spin-go-sdk v2.2.1
5+
require github.com/spinframework/spin-go-sdk/v2 v2.2.1

0 commit comments

Comments
 (0)