giredore/domains/server/v1/templates.go

19 lines
479 B
Go
Raw Normal View History

2019-10-07 20:39:11 +05:00
package serverv1
const (
singlePackageTemplate string = `<!doctype html>
<html>
<head>
<meta name="go-import" content="{PKGNAME} {VCS} {REPOPATH}">
</head>
<body>
go get {PKGNAME}
</body>
</html>
`
)
// This might be added. ToDo: figure out why this is needed.
// <meta name="go-source" content="{PKGNAME} _ https://sources.dev.pztrn.name/pztrn/giredore/src/branch/master{/dir} https://sources.dev.pztrn.name/pztrn/giredore/src/branch/master{/dir}/{file}#L{line}">