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