Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang committed Aug 14, 2020
1 parent bf836d3 commit ef607b3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
26 changes: 26 additions & 0 deletions specification/hybridcompute/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
namespace: hybridcompute
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-12
```
### Tag: package-2019-12 and go
These settings apply only when `--tag=package-2019-12 --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-2019-12' && $(go)
output-folder: $(go-sdk-folder)/services/preview/hybridcompute/mgmt/2019-12-12/hybridcompute
```
26 changes: 1 addition & 25 deletions specification/hybridcompute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,31 +168,7 @@ directive:

## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
namespace: hybridcompute
```


### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-12
```

### Tag: package-2019-12 and go

These settings apply only when `--tag=package-2019-12 --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-2019-12' && $(go)
output-folder: $(go-sdk-folder)/services/preview/hybridcompute/mgmt/2019-12-12/hybridcompute
```
See configuration in [readme.go.md](./readme.go.md)

## Java

Expand Down

0 comments on commit ef607b3

Please sign in to comment.