Skip to content

Commit

Permalink
Update go sdk version in examples (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint authored Dec 24, 2024
1 parent fce16c9 commit 96f83ae
Show file tree
Hide file tree
Showing 31 changed files with 46 additions and 48 deletions.
2 changes: 1 addition & 1 deletion runtime/languages/golang/testdata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module testdata

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions runtime/languages/golang/testdata/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/anthropic-functions/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module anthropic-functions-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0

require (
github.com/tidwall/gjson v1.18.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions sdk/go/examples/anthropic-functions/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/auth/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module auth-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/auth/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/classification/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module classification-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/classification/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/collections/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module collection-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/collections/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/dgraph/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module dgraph-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/dgraph/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/embedding/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module embedding-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0

require (
github.com/tidwall/gjson v1.18.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions sdk/go/examples/embedding/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/graphql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module graphql-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/graphql/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/http/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module http-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/http/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/neo4j/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module neo4j-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/neo4j/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/postgresql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module postgresql-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/postgresql/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/simple/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module simple-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/simple/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/textgeneration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module text-generation-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0

require (
github.com/tidwall/gjson v1.18.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions sdk/go/examples/textgeneration/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/examples/time/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module time-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0
4 changes: 2 additions & 2 deletions sdk/go/examples/time/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
2 changes: 1 addition & 1 deletion sdk/go/examples/vectors/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module vectors-example

go 1.23.4

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0

require golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
6 changes: 2 additions & 4 deletions sdk/go/examples/vectors/go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
github.com/hypermodeinc/modus/sdk/go v0.15.0 h1:xRD4swlxdug4fVVKzY2FQKGUTKK2qLSDb0k/wqDDTOw=
github.com/hypermodeinc/modus/sdk/go v0.15.0/go.mod h1:Tgh2CfZztlmsAi5DAF1s2LhoARF6P61huICuuAd7hvY=
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo=
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak=
github.com/hypermodeinc/modus/sdk/go v0.16.0 h1:kO43jI1RfDgDJAEg+ilNSJIUHfsSXM2pGuHh/dT0Zec=
github.com/hypermodeinc/modus/sdk/go v0.16.0/go.mod h1:wXGlRRd/Rkxv7QwYfHzc2VoaU91lzWpiZ/zm4sTuD/U=
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo=
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c=
2 changes: 1 addition & 1 deletion sdk/go/templates/default/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module my-modus-app

go 1.23.1

require github.com/hypermodeinc/modus/sdk/go v0.15.0
require github.com/hypermodeinc/modus/sdk/go v0.16.0

0 comments on commit 96f83ae

Please sign in to comment.