golang.org/x/pkgsite/internal/licenses.License.Contents (field)
9 uses
golang.org/x/pkgsite/internal/licenses (current package)
licenses.go#L73: Contents []byte
licenses.go#L80: l.Contents = nil
licenses.go#L491: Contents: bytes,
golang.org/x/pkgsite/internal/frontend
license.go#L57: l.Contents = bytes.ReplaceAll(l.Contents, []byte("\r"), nil)
golang.org/x/pkgsite/internal/postgres
insert_module.go#L280: makeValidUnicode(string(l.Contents)), pq.Array(l.Types), covJSON,
licenses.go#L115: if err := rows.Scan(pq.Array(&licenseTypes), &lic.FilePath, &lic.Contents, &covBytes); err != nil {
golang.org/x/pkgsite/internal/testing/sample
sample.go#L44: Contents: []byte(`unknown`),
sample.go#L411: {Metadata: LicenseMetadata()[0], Contents: []byte(`Lorem Ipsum`)},
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |