go-repo/package.go

26 lines
1.3 KiB
Go
Raw Normal View History

2020-11-21 11:01:43 +00:00
package main
const pkg = `
2020-11-21 09:36:28 +00:00
<!DOCTYPE html>
<html>
<head>
2020-11-21 11:01:43 +00:00
<meta name="go-import" content="{{ .Import }} git https://{{ .Repository }}">
<meta name="go-source" content="{{ .Import }} https://{{ .Repository }} https://{{ .Repository }}/tree/master{/dir} https://{{ .Repository }}/tree/master{/dir}/{file}#L{line}">
{{/* <meta http-equiv="refresh" content="0; url=https://pkg.go.dev/{{ .Import }}"> */}}
2020-11-21 09:36:28 +00:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/highlight.min.js" integrity="sha512-tHQeqtcNWlZtEh8As/4MmZ5qpy0wj04svWFK7MIzLmUVIzaHXS8eod9OmHxyBL1UET5Rchvw7Ih4ZDv5JojZww==" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/styles/monokai-sublime.min.css" integrity="sha512-8irWeigPA1Pm20tgaynUtqbAQ/zvOizMj7Olu0sF9kQTGabFfvlAHUqhslzHwr7OZO6Z0IN6VoXAALzipXIwgA==" crossorigin="anonymous" />
</head>
<body>
<div class="container">
<div class="row">
2020-11-21 11:01:43 +00:00
{{/* Nothing to see here. Please <a href="https://pkg.go.dev/{{ .Import }}">move along</a>. */}}
{{ .ReadmeHTML }}
2020-11-21 09:36:28 +00:00
</div>
</div>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
2020-11-21 11:01:43 +00:00
`