1 // Package inkrecognizer implements the Azure ARM Inkrecognizer service API version 1.0. 2 // 3 // The service is used to perform ink layout and recognition of written words and shapes. Ink strokes passed to the 4 // service are recognized and organized into recognition results in the response 5 package inkrecognizer 6 7 // Copyright (c) Microsoft Corporation. All rights reserved. 8 // Licensed under the MIT License. See License.txt in the project root for license information. 9 // 10 // Code generated by Microsoft (R) AutoRest Code Generator. 11 // Changes may cause incorrect behavior and will be lost if the code is regenerated. 12 13 import ( 14 "github.com/Azure/go-autorest/autorest" 15 ) 16 17 // BaseClient is the base client for Inkrecognizer. 18 type BaseClient struct { 19 autorest.Client 20 Endpoint string 21 } 22 23 // New creates an instance of the BaseClient client. 24 func New(endpoint string) BaseClient { 25 return NewWithoutDefaults(endpoint) 26 } 27 28 // NewWithoutDefaults creates an instance of the BaseClient client. 29 func NewWithoutDefaults(endpoint string) BaseClient { 30 return BaseClient{ 31 Client: autorest.NewClientWithUserAgent(UserAgent()), 32 Endpoint: endpoint, 33 } 34 } 35