Sample Go web application using Azure Cosmos DB for NoSQL.
Task | Link |
---|---|
Downloaded latest source code | https://github.com/azurecosmosdb/quickstart-nosql-go/releases/latest/download/project.zip |
Open in GitHub Codespaces | https://codespaces.new/AzureCosmosDB/quickstart-nosql-go?template=true&quickstart=1 |
-
Replace the credentials in cosmos.go with your Azure Cosmos DB for NoSQL account's credentials.
-
Start the application:
go mod tidy go run .