1 // Package translatortext implements the Azure ARM Translatortext service API version v1.0-preview.1. 2 // 3 // 4 package translatortext 5 6 // Copyright (c) Microsoft Corporation. All rights reserved. 7 // Licensed under the MIT License. See License.txt in the project root for license information. 8 // 9 // Code generated by Microsoft (R) AutoRest Code Generator. 10 // Changes may cause incorrect behavior and will be lost if the code is regenerated. 11 12 import ( 13 "github.com/Azure/go-autorest/autorest" 14 ) 15 16 // BaseClient is the base client for Translatortext. 17 type BaseClient struct { 18 autorest.Client 19 } 20 21 // New creates an instance of the BaseClient client. 22 func New() BaseClient { 23 return NewWithoutDefaults() 24 } 25 26 // NewWithoutDefaults creates an instance of the BaseClient client. 27 func NewWithoutDefaults() BaseClient { 28 return BaseClient{ 29 Client: autorest.NewClientWithUserAgent(UserAgent()), 30 } 31 } 32