Skip to content

Commit fa142b5

Browse files
change readme.go.md template to track 2 (#15972)
1 parent 7277cbe commit fa142b5

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

documentation/samplefiles/readme.go.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,10 @@
22

33
These settings apply only when `--go` is specified on the command line.
44

5-
```yaml $(go)
6-
go:
7-
license-header: MICROSOFT_MIT_NO_VERSION
8-
namespace: [[ServiceName]]
9-
clear-output-folder: true
10-
```
11-
12-
### Go multi-api
13-
14-
``` yaml $(go) && $(multiapi)
15-
batch:
16-
- tag: package-[[Version]][[-ReleaseState]]
17-
```
18-
19-
### Tag: package-[[Version]][[-ReleaseState]] and go
20-
21-
These settings apply only when `--tag=package-[[Version]][[-ReleaseState]] --go` is specified on the command line.
22-
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
23-
24-
```yaml $(tag) == 'package-[[Version]][[-ReleaseState]]' && $(go)
25-
output-folder: $(go-sdk-folder)/services[[/ReleaseState]]/$(namespace)/mgmt/[[Version]]/$(namespace)
5+
```yaml $(go) && $(track2)
6+
azure-arm: true
7+
license-header: MICROSOFT_MIT_NO_VERSION
8+
module-name: sdk/[[ServiceName]]/arm[[ServiceName]]
9+
module: github.com/Azure/azure-sdk-for-go/$(module-name)
10+
output-folder: $(go-sdk-folder)/$(module-name)
2611
```

documentation/samplefiles/samplereadme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This is not used by Autorest itself.
5151
swagger-to-sdk:
5252
- repo: azure-sdk-for-python-track2
5353
- repo: azure-sdk-for-java
54-
- repo: azure-sdk-for-go
54+
- repo: azure-sdk-for-go-track2
5555
- repo: azure-sdk-for-js
5656
- repo: azure-resource-manager-schemas
5757
- repo: azure-cli-extensions

0 commit comments

Comments
 (0)