...

Source file src/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2021-10-15/documentdb/version.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2021-10-15/documentdb

     1  package documentdb
     2  
     3  import "github.com/Azure/azure-sdk-for-go/version"
     4  
     5  // Copyright (c) Microsoft Corporation. All rights reserved.
     6  // Licensed under the MIT License. See License.txt in the project root for license information.
     7  //
     8  // Code generated by Microsoft (R) AutoRest Code Generator.
     9  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
    10  
    11  // UserAgent returns the UserAgent string to use when sending http.Requests.
    12  func UserAgent() string {
    13  	return "Azure-SDK-For-Go/" + Version() + " documentdb/2021-10-15"
    14  }
    15  
    16  // Version returns the semantic version (see http://semver.org) of the client.
    17  func Version() string {
    18  	return version.Number
    19  }
    20  

View as plain text