This sample shows you how to use the Azure Cosmos DB for MongoDB API and Go language (Golang) to create, retrieve, update, and delete a document in a collection.
The utils package within go-autorest has been removed as of version 12.0.0. It was marked as deprecated in version 10.4.0. Since this has been removed this code no longer works unless the init function is removed from main.go:
The
utils
package withingo-autorest
has been removed as of version 12.0.0. It was marked as deprecated in version 10.4.0. Since this has been removed this code no longer works unless the init function is removed frommain.go
: