File tree Expand file tree Collapse file tree 31 files changed +50
-50
lines changed Expand file tree Collapse file tree 31 files changed +50
-50
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ module examples/http-outbound/hello
22
33go 1.20
44
5- require github.com/spinframework/spin-go-sdk v0.0.0
5+ require github.com/spinframework/spin-go-sdk/v2 v2.2.1
66
77require github.com/julienschmidt/httprouter v1.3.0 // indirect
88
9- replace github.com/spinframework/spin-go-sdk v0.0.0 => ../../../
9+ replace github.com/spinframework/spin-go-sdk/v2 v2.2.1 => ../../../
Original file line number Diff line number Diff line change 66 "net/http"
77 "os"
88
9- spinhttp "github.com/spinframework/spin-go-sdk/http"
9+ spinhttp "github.com/spinframework/spin-go-sdk/v2/ http"
1010)
1111
1212func init () {
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ module examples/http-outbound/http-to-same-app
22
33go 1.20
44
5- require github.com/spinframework/spin-go-sdk v0.0.0
5+ require github.com/spinframework/spin-go-sdk/v2 v2.2.1
66
77require github.com/julienschmidt/httprouter v1.3.0 // indirect
88
9- replace github.com/spinframework/spin-go-sdk v0.0.0 => ../../../
9+ replace github.com/spinframework/spin-go-sdk/v2 v2.2.1 => ../../../
Original file line number Diff line number Diff line change 44 "fmt"
55 "net/http"
66
7- spinhttp "github.com/spinframework/spin-go-sdk/http"
7+ spinhttp "github.com/spinframework/spin-go-sdk/v2/ http"
88)
99
1010func init () {
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ module examples/http-router
22
33go 1.20
44
5- require github.com/spinframework/spin-go-sdk v0.0.0
5+ require github.com/spinframework/spin-go-sdk/v2 v2.2.1
66
77require github.com/julienschmidt/httprouter v1.3.0 // indirect
88
9- replace github.com/spinframework/spin-go-sdk v0.0.0 => ../../
9+ replace github.com/spinframework/spin-go-sdk/v2 v2.2.1 => ../../
Original file line number Diff line number Diff line change 44 "fmt"
55 "net/http"
66
7- spinhttp "github.com/spinframework/spin-go-sdk/http"
7+ spinhttp "github.com/spinframework/spin-go-sdk/v2/ http"
88)
99
1010func init () {
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ module examples/http
22
33go 1.20
44
5- require github.com/spinframework/spin-go-sdk v0.0.0
5+ require github.com/spinframework/spin-go-sdk/v2 v2.2.1
66
77require github.com/julienschmidt/httprouter v1.3.0 // indirect
88
9- replace github.com/spinframework/spin-go-sdk v0.0.0 => ../../
9+ replace github.com/spinframework/spin-go-sdk/v2 v2.2.1 => ../../
Original file line number Diff line number Diff line change 55 "io"
66 "net/http"
77
8- spinhttp "github.com/spinframework/spin-go-sdk/http"
8+ spinhttp "github.com/spinframework/spin-go-sdk/v2/ http"
99)
1010
1111func init () {
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ module examples/key-value
22
33go 1.20
44
5- require github.com/spinframework/spin-go-sdk v0.0.0
5+ require github.com/spinframework/spin-go-sdk/v2 v2.2.1
66
77require github.com/julienschmidt/httprouter v1.3.0 // indirect
88
9- replace github.com/spinframework/spin-go-sdk v0.0.0 => ../../
9+ replace github.com/spinframework/spin-go-sdk/v2 v2.2.1 => ../../
Original file line number Diff line number Diff line change 44 "io"
55 "net/http"
66
7- spin_http "github.com/spinframework/spin-go-sdk/http"
8- "github.com/spinframework/spin-go-sdk/kv"
7+ spin_http "github.com/spinframework/spin-go-sdk/v2/ http"
8+ "github.com/spinframework/spin-go-sdk/v2/ kv"
99)
1010
1111func init () {
You can’t perform that action at this time.
0 commit comments