Skip to content

Commit

Permalink
private/model/api: removing crosslinks from input/output shapes. (#1765)
Browse files Browse the repository at this point in the history
* Removing crosslink from input/output shapes

* regenerating services
xibz authored Feb 6, 2018
1 parent 33ba385 commit 55abaf0
Showing 118 changed files with 0 additions and 9,766 deletions.
11 changes: 0 additions & 11 deletions private/model/api/shape.go
Original file line number Diff line number Diff line change
@@ -516,17 +516,6 @@ var structShapeTmpl = template.Must(template.New("StructShape").Funcs(template.F
"GetCrosslinkURL": GetCrosslinkURL,
}).Parse(`
{{ .Docstring }}
{{ if ne $.OrigShapeName "" -}}
{{ $crosslinkURL := GetCrosslinkURL $.API.BaseCrosslinkURL $.API.Metadata.UID $.OrigShapeName -}}
{{ if ne $crosslinkURL "" -}}
// See also, {{ $crosslinkURL }}
{{ end -}}
{{ else -}}
{{ $crosslinkURL := GetCrosslinkURL $.API.BaseCrosslinkURL $.API.Metadata.UID $.ShapeName -}}
{{ if ne $crosslinkURL "" -}}
// See also, {{ $crosslinkURL }}
{{ end -}}
{{ end -}}
{{ $context := . -}}
type {{ .ShapeName }} struct {
_ struct{} {{ .GoTags true false }}
30 changes: 0 additions & 30 deletions service/acm/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Oops, something went wrong.

0 comments on commit 55abaf0

Please sign in to comment.