@@ -408,7 +408,7 @@ func main() {
408
408
409
409
// location, also known as region.
410
410
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
411
- location := " <YOUR-RESOURCE-LOCATION>" ;
411
+ location := " <YOUR-RESOURCE-LOCATION>"
412
412
413
413
// Build the request URL. See: https://go.dev/pkg/net/url/#example_URL_Parse
414
414
u , _ := url.Parse (uri)
@@ -689,7 +689,7 @@ func main() {
689
689
// location, also known as region.
690
690
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
691
691
692
- location := " <YOUR-RESOURCE-LOCATION>" ;
692
+ location := " <YOUR-RESOURCE-LOCATION>"
693
693
endpoint := " https://api.cognitive.microsofttranslator.com/"
694
694
uri := endpoint + " /translate?api-version=3.0"
695
695
@@ -966,7 +966,7 @@ func main() {
966
966
key := " <YOUR-TRANSLATOR-KEY>"
967
967
// location, also known as region.
968
968
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
969
- location := " <YOUR-RESOURCE-LOCATION>" ;
969
+ location := " <YOUR-RESOURCE-LOCATION>"
970
970
971
971
endpoint := " https://api.cognitive.microsofttranslator.com/"
972
972
uri := endpoint + " /detect?api-version=3.0"
@@ -1242,7 +1242,7 @@ func main() {
1242
1242
key := " <YOUR-TRANSLATOR-KEY>"
1243
1243
// location, also known as region.
1244
1244
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
1245
- location := " <YOUR-RESOURCE-LOCATION>" ;
1245
+ location := " <YOUR-RESOURCE-LOCATION>"
1246
1246
endpoint := " https://api.cognitive.microsofttranslator.com/"
1247
1247
1248
1248
uri := endpoint + " /translate?api-version=3.0"
@@ -1527,7 +1527,7 @@ func main() {
1527
1527
key := " <YOUR-TRANSLATOR-KEY>"
1528
1528
// location, also known as region.
1529
1529
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
1530
- location := " <YOUR-RESOURCE-LOCATION>" ;
1530
+ location := " <YOUR-RESOURCE-LOCATION>"
1531
1531
endpoint := " https://api.cognitive.microsofttranslator.com/"
1532
1532
uri := endpoint + " /transliterate?api-version=3.0"
1533
1533
@@ -1805,7 +1805,7 @@ func main() {
1805
1805
key := " <YOUR-TRANSLATOR-KEY>"
1806
1806
// location, also known as region.
1807
1807
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
1808
- location := " <YOUR-RESOURCE-LOCATION>" ;
1808
+ location := " <YOUR-RESOURCE-LOCATION>"
1809
1809
endpoint := " https://api.cognitive.microsofttranslator.com/"
1810
1810
uri := endpoint + " /translate?api-version=3.0"
1811
1811
@@ -2093,7 +2093,7 @@ func main() {
2093
2093
key := " <YOUR-TRANSLATOR-KEY>"
2094
2094
// location, also known as region.
2095
2095
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
2096
- location := " <YOUR-RESOURCE-LOCATION>" ;
2096
+ location := " <YOUR-RESOURCE-LOCATION>"
2097
2097
endpoint := " https://api.cognitive.microsofttranslator.com/"
2098
2098
uri := endpoint + " /breaksentence?api-version=3.0"
2099
2099
@@ -2359,7 +2359,7 @@ func main() {
2359
2359
key := " <YOUR-TRANSLATOR-KEY>"
2360
2360
// location, also known as region.
2361
2361
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
2362
- location := " <YOUR-RESOURCE-LOCATION>" ;
2362
+ location := " <YOUR-RESOURCE-LOCATION>"
2363
2363
endpoint := " https://api.cognitive.microsofttranslator.com/"
2364
2364
uri := endpoint + " /dictionary/lookup?api-version=3.0"
2365
2365
@@ -2777,7 +2777,7 @@ func main() {
2777
2777
key := " <YOUR-TRANSLATOR-KEY>"
2778
2778
// location, also known as region.
2779
2779
// required if you're using a multi-service or regional (not global) resource. It can be found in the Azure portal on the Keys and Endpoint page.
2780
- location := " <YOUR-RESOURCE-LOCATION>" ;
2780
+ location := " <YOUR-RESOURCE-LOCATION>"
2781
2781
endpoint := " https://api.cognitive.microsofttranslator.com/"
2782
2782
uri := endpoint + " /dictionary/examples?api-version=3.0"
2783
2783
0 commit comments