2023-03-31 00:08:56 +03:00
|
|
|
{{- $version := cond (eq .Params.version "v0") "" (cond (eq .Params.version "v1") "" (cond (eq .Params.version "") "" (printf "/%s" .Params.version ))) -}}
|
|
|
|
{{- $branch := cond (eq .Params.version "v0") "master" (cond (eq .Params.version "v1") "master" (cond (eq .Params.version "") "" .Params.version)) -}}
|
|
|
|
|
2021-10-02 00:14:31 +03:00
|
|
|
<!DOCTYPE html>
|
2021-10-29 01:19:59 +03:00
|
|
|
<html lang="en">
|
2021-10-02 00:14:31 +03:00
|
|
|
<head>
|
2021-10-03 14:03:01 +03:00
|
|
|
<title>{{ .Title }}</title>
|
2021-10-29 01:32:42 +03:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
2023-03-31 00:08:56 +03:00
|
|
|
<meta http-equiv="refresh" content="5;url=https://pkg.go.dev/{{ .Params.import }}{{ $version }}"/>
|
|
|
|
<meta name="go-import" content="{{ .Params.import }}{{ $version }} git {{ .Params.source }}"/>
|
|
|
|
<meta name="go-source" content="{{ .Params.import }}{{ $version }} _ {{ .Params.source }}{/dir} {{ .Params.source }}/src/branch/{{ $branch }}/{/dir}/{file}#L{line}"/>
|
2021-10-29 01:32:42 +03:00
|
|
|
</head>
|
2023-03-04 14:26:19 +03:00
|
|
|
<body>
|
2023-03-31 00:08:56 +03:00
|
|
|
<a href="https://pkg.go.dev/{{ .Params.import }}{{ $version }}">pkg.go.dev</a><br/>
|
|
|
|
go get {{ .Params.import }}{{ $version }}<br/>
|
2023-03-04 14:26:19 +03:00
|
|
|
</body>
|
2021-10-02 00:14:31 +03:00
|
|
|
</html>
|