| <!-- |
| Copyright 2020 The Go Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style |
| license that can be found in the LICENSE file. |
| --> |
| |
| {{define "licenses"}} |
| {{range .Licenses}} |
| <section class="License" id="{{.Anchor}}"> |
| <h2><div id="#{{.Anchor}}">{{range $i, $e := .Types}}{{if $i}}, {{end}}{{$e}}{{end}}</div></h2> |
| <p>This is not legal advice. <a href="/license-policy">Read disclaimer.</a></p> |
| <pre class="License-contents">{{printf "%s" .Contents}}</pre> |
| </section> |
| <div class="License-source">Source: {{.Source}}</div> |
| {{end}} |
| {{end}} |