Skip to content

Commit

Permalink
Merge pull request #2050 from fermyon/update-sdk-v2.0.0
Browse files Browse the repository at this point in the history
feat(templates): update sdk to v2.0.0
  • Loading branch information
vdice authored Nov 3, 2023
2 parents e4bb235 + 69b550d commit b6c39f4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion templates/http-go/content/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/{{project-name | snake_case}}

go 1.20

require github.com/fermyon/spin/sdk/go/v2 v2.0.0-20231101021602-7a9c3844cb64
require github.com/fermyon/spin/sdk/go/v2 v2.0.0

require github.com/julienschmidt/httprouter v1.3.0 // indirect
4 changes: 2 additions & 2 deletions templates/http-go/content/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/fermyon/spin/sdk/go/v2 v2.0.0-20231101021602-7a9c3844cb64 h1:TRaHeS/BznCPgCu46L/zJQiLpA8d+fuDG/2kmqDTOv8=
github.com/fermyon/spin/sdk/go/v2 v2.0.0-20231101021602-7a9c3844cb64/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
github.com/fermyon/spin/sdk/go/v2 v2.0.0 h1:pMq2BxXio9gsBdPVNCuebCsLSt64yaTS3kV2l1gL088=
github.com/fermyon/spin/sdk/go/v2 v2.0.0/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
2 changes: 1 addition & 1 deletion templates/http-rust/content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ crate-type = [ "cdylib" ]
[dependencies]
anyhow = "1"
http = "0.2"
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v2.0.0-rc.1" }
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v2.0.0" }

[workspace]
2 changes: 1 addition & 1 deletion templates/redis-go/content/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/{{project-name | snake_case}}

go 1.20

require github.com/fermyon/spin/sdk/go/v2 v2.0.0-20231101021602-7a9c3844cb64
require github.com/fermyon/spin/sdk/go/v2 v2.0.0
4 changes: 2 additions & 2 deletions templates/redis-go/content/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/fermyon/spin/sdk/go/v2 v2.0.0-20231101021602-7a9c3844cb64 h1:TRaHeS/BznCPgCu46L/zJQiLpA8d+fuDG/2kmqDTOv8=
github.com/fermyon/spin/sdk/go/v2 v2.0.0-20231101021602-7a9c3844cb64/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
github.com/fermyon/spin/sdk/go/v2 v2.0.0 h1:pMq2BxXio9gsBdPVNCuebCsLSt64yaTS3kV2l1gL088=
github.com/fermyon/spin/sdk/go/v2 v2.0.0/go.mod h1:kfJ+gdf/xIaKrsC6JHCUDYMv2Bzib1ohFIYUzvP+SCw=
2 changes: 1 addition & 1 deletion templates/redis-rust/content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ anyhow = "1"
# Crate to simplify working with bytes.
bytes = "1"
# The Spin SDK.
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v2.0.0-rc.1" }
spin-sdk = { git = "https://github.com/fermyon/spin", tag = "v2.0.0" }

[workspace]

0 comments on commit b6c39f4

Please sign in to comment.