Skip to content

Commit

Permalink
add go sdk config (#13620)
Browse files Browse the repository at this point in the history
  • Loading branch information
njuCZ authored Mar 25, 2021
1 parent c694792 commit 0f0e41f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specification/changeanalysis/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,20 @@ go:
```yaml $(go) && $(multiapi)
batch:
- tag: package-2021-04-01
- tag: package-2020-04-01-preview
```
### Tag: package-2021-04-01 and go
These settings apply only when `--tag=package-2021-04-01 --go` is specified on the command line.
Please also specify `--go-sdks-folder=<path to the root directory of your azure-sdk-for-go clone>`.

```yaml $(tag) == 'package-2021-04-01' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-04-01/$(namespace)
```

### Tag: package-2020-04-01-preview and go

These settings apply only when `--tag=package-2020-04-01-preview --go` is specified on the command line.
Expand Down
11 changes: 11 additions & 0 deletions specification/compute/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ directive:
```yaml $(go) && $(multiapi)
batch:
- tag: package-2021-03-01
- tag: package-2020-12-01
- tag: package-2020-10-01-preview
- tag: profile-hybrid-2020-09-01
Expand All @@ -54,6 +55,16 @@ batch:
- tag: package-container-service-2015-11-preview
```
### Tag: package-2021-03-01 and go
These settings apply only when `--tag=package-2021-03-01 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

```yaml $(tag)=='package-2021-03-01' && $(go)
namespace: compute
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-03-01/$(namespace)
```

### Tag: package-2020-12-01 and go

These settings apply only when `--tag=package-2020-12-01 --go` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ go:
```yaml $(go) && $(multiapi)
batch:
- tag: package-2021-03-15-preview
- tag: package-2020-07-15-privatepreview
```
Expand Down

0 comments on commit 0f0e41f

Please sign in to comment.