Skip to content

Commit

Permalink
Merge pull request #12 from AzureCosmosDB/auto-20241111130754
Browse files Browse the repository at this point in the history
[AUTO] 2024-11-11 | Merge latest from source repo
  • Loading branch information
2 parents 916b986 + c364de5 commit db47e77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cosmos.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func startCosmos(writeOutput func(msg string)) error {

{
item := Item{
Id: "70b63682-b93a-4c77-aad2-65501347265f",
Id: "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
Category: "gear-surf-surfboards",
Name: "Yamba Surfboard",
Quantity: 12,
Expand Down Expand Up @@ -95,7 +95,7 @@ func startCosmos(writeOutput func(msg string)) error {

{
item := Item{
Id: "25a68543-b90c-439d-8332-7ef41e06a0e0",
Id: "bbbbbbbb-1111-2222-3333-cccccccccccc",
Category: "gear-surf-surfboards",
Name: "Kiama Classic Surfboard",
Quantity: 25,
Expand Down Expand Up @@ -135,7 +135,7 @@ func startCosmos(writeOutput func(msg string)) error {

context := context.TODO()

itemId := "70b63682-b93a-4c77-aad2-65501347265f"
itemId := "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

response, err := container.ReadItem(context, partitionKey, itemId, nil)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1 class="my-5 text-center">
<i class="bi bi-arrow-clockwise me-2"></i>
Run
</button>
<a href="https://learn.microsoft.com/azure/cosmos-db/nosql/quickstart-java#walk-through-the-java-library-code"
<a href="https://learn.microsoft.com/azure/cosmos-db/nosql/quickstart-go#code-examples"
class="list-group-item list-group-item-action" target="_blank">
<i class="bi bi-book me-2"></i>
Walk through the code for this sample application
Expand Down

0 comments on commit db47e77

Please sign in to comment.