Skip to content

Commit aa46a55

Browse files
authored
Merge pull request #3116 from adamreese/ref/go-template-import
ref(templates/go): use spinframework import path
2 parents 792b355 + 6c4b591 commit aa46a55

File tree

7 files changed

+8
-31
lines changed

7 files changed

+8
-31
lines changed

templates/Makefile

Lines changed: 0 additions & 23 deletions
This file was deleted.

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/fermyon/spin/sdk/go/v2 v2.2.0
5+
require github.com/spinframework/spin-go-sdk v2.2.1
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/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=
31
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=
42
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
3+
github.com/spinframework/spin-go-sdk/v2 v2.2.1 h1:ceAbRU+D3xmyZ8ScDLeFoT763ikFIUEmSjgsrD11v8k=
4+
github.com/spinframework/spin-go-sdk/v2 v2.2.1/go.mod h1:vocVZB4qlTG8C5yoliKIAJCuv4x7sqK0GmVkWeD9N/A=

templates/http-go/content/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"net/http"
66

7-
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
7+
spinhttp "github.com/spinframework/spin-go-sdk/v2/http"
88
)
99

1010
func init() {

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/fermyon/spin/sdk/go/v2 v2.2.0
5+
require github.com/spinframework/spin-go-sdk v2.2.1

templates/redis-go/content/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
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=
1+
github.com/spinframework/spin-go-sdk/v2 v2.2.1 h1:ceAbRU+D3xmyZ8ScDLeFoT763ikFIUEmSjgsrD11v8k=
2+
github.com/spinframework/spin-go-sdk/v2 v2.2.1/go.mod h1:vocVZB4qlTG8C5yoliKIAJCuv4x7sqK0GmVkWeD9N/A=

templates/redis-go/content/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/fermyon/spin/sdk/go/v2/redis"
6+
"github.com/spinframework/spin-go-sdk/v2/redis"
77
)
88

99
func init() {

0 commit comments

Comments
 (0)