mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
website: specify Go 1.11 and use default godoc repository root
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
module gioui.org/website
|
module gioui.org/website
|
||||||
|
|
||||||
go 1.13
|
go 1.11
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ func vanityHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
if r.URL.Query().Get("go-get") == "1" {
|
if r.URL.Query().Get("go-get") == "1" {
|
||||||
fmt.Fprintf(w, `<html><head>
|
fmt.Fprintf(w, `<html><head>
|
||||||
<meta name="go-import" content="gioui.org git https://git.sr.ht/~eliasnaur/gio">
|
<meta name="go-import" content="gioui.org git https://git.sr.ht/~eliasnaur/gio">
|
||||||
<meta name="go-source" content="gioui.org https://git.sr.ht/~eliasnaur/gio https://git.sr.ht/~eliasnaur/gio/tree/master{/dir} https://git.sr.ht/~eliasnaur/gio/tree/master{/dir}/{file}#L{line}">
|
<meta name="go-source" content="gioui.org _ https://git.sr.ht/~eliasnaur/gio/tree/master{/dir} https://git.sr.ht/~eliasnaur/gio/tree/master{/dir}/{file}#L{line}">
|
||||||
</head></html>`)
|
</head></html>`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user