remove old git.wit.org references
This commit is contained in:
parent
47d10c231f
commit
014c9d5e3a
|
@ -105,8 +105,6 @@ func registerClient(f *os.File, r *http.Request) bool {
|
||||||
if name == "Gopath" {
|
if name == "Gopath" {
|
||||||
gopath = value
|
gopath = value
|
||||||
}
|
}
|
||||||
// Giturl https://git.wit.org/gui/go-gui-toolkits.git
|
|
||||||
// Headers: Gopath
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
10
main.go
10
main.go
|
@ -65,10 +65,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
indexBodyEnd(w)
|
indexBodyEnd(w)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if tmp == "/old" {
|
|
||||||
writeFile(w, "index.html")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if tmp == "/install.sh" {
|
if tmp == "/install.sh" {
|
||||||
writeFile(w, "install.sh")
|
writeFile(w, "install.sh")
|
||||||
return
|
return
|
||||||
|
@ -91,10 +87,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if tmp == "/test" {
|
|
||||||
writeFile(w, "test.html")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if tmp == "/goReference.svg" {
|
if tmp == "/goReference.svg" {
|
||||||
writeFile(w, "goReference.svg")
|
writeFile(w, "goReference.svg")
|
||||||
return
|
return
|
||||||
|
@ -180,7 +172,7 @@ func badurl(w http.ResponseWriter, badurl string) {
|
||||||
fmt.Fprintln(w, " IPv4 IS NOT SUPPORTED<br>")
|
fmt.Fprintln(w, " IPv4 IS NOT SUPPORTED<br>")
|
||||||
fmt.Fprintln(w, " MANY OF THESE REPOS REQUIRE IPv6.<br>")
|
fmt.Fprintln(w, " MANY OF THESE REPOS REQUIRE IPv6.<br>")
|
||||||
fmt.Fprintln(w, " <br>")
|
fmt.Fprintln(w, " <br>")
|
||||||
fmt.Fprintln(w, " bad url", badurl, "<a href=\"https://git.wit.org/\">redirecting</a>")
|
fmt.Fprintln(w, " bad url", badurl, "<a href=\"https://go.wit.com/\">redirecting</a>")
|
||||||
fmt.Fprintln(w, " </body>")
|
fmt.Fprintln(w, " </body>")
|
||||||
fmt.Fprintln(w, "</html>")
|
fmt.Fprintln(w, "</html>")
|
||||||
}
|
}
|
||||||
|
|
24
repoHTML.go
24
repoHTML.go
|
@ -12,20 +12,6 @@ import (
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta name="go-import" content="go.wit.com/gui/gui git https://git.wit.org/gui/gui">
|
|
||||||
<meta name="go-source" content="go.wit.com/gui/gui https://git.wit.org/gui/gui https://git.wit.org/gui/tree/master{/dir} https://git.wit.org/gui/gui/tree/master{/dir}/{file}#L{line}">
|
|
||||||
<meta http-equiv="refresh" content="0; url=https://git.wit.org/gui/gui">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
Nothing to see here. Please <a href="https://git.wit.org/gui/gui">move along</a>.
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
*/
|
|
||||||
|
|
||||||
func repoHTML(w http.ResponseWriter, gourl string, realurl string) {
|
func repoHTML(w http.ResponseWriter, gourl string, realurl string) {
|
||||||
realurl = "https://" + realurl
|
realurl = "https://" + realurl
|
||||||
log.Info("go repo =", gourl, "real url =", realurl)
|
log.Info("go repo =", gourl, "real url =", realurl)
|
||||||
|
@ -42,16 +28,6 @@ func repoHTML(w http.ResponseWriter, gourl string, realurl string) {
|
||||||
fmt.Fprintln(w, "Nothing to see here. Please <a href=\""+realurl+"\">move along</a>.\"")
|
fmt.Fprintln(w, "Nothing to see here. Please <a href=\""+realurl+"\">move along</a>.\"")
|
||||||
fmt.Fprintln(w, "</body>")
|
fmt.Fprintln(w, "</body>")
|
||||||
fmt.Fprintln(w, "</html>")
|
fmt.Fprintln(w, "</html>")
|
||||||
|
|
||||||
/*
|
|
||||||
var tmp string
|
|
||||||
tmp = r.URL.String()
|
|
||||||
if tmp == "/gui" {
|
|
||||||
findFile(w)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
fmt.Fprintln(w, "OK")
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func findkey(url string) (string, string) {
|
func findkey(url string) (string, string) {
|
||||||
|
|
|
@ -1,200 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<link rel="stylesheet" href="skeleton.v2.css" />
|
|
||||||
<style>
|
|
||||||
#footer {
|
|
||||||
position: fixed;
|
|
||||||
padding: 1% 0% 1% 0%; /* top left bottom right */
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
/* Height of the footer*/
|
|
||||||
height: 40px;
|
|
||||||
background: lightgrey;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
</html>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<table class="u-full-width">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Package</th>
|
|
||||||
<th>go get</th>
|
|
||||||
<th>Authoritative sources (IPv6 only)</th>
|
|
||||||
<th>github mirror</th>
|
|
||||||
<th>Documentation</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
|
|
||||||
|
|
||||||
<tr> <td><h5>log/ (needed for the gui)</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
<tr>
|
|
||||||
<td>log</td>
|
|
||||||
<td> <a href="//go.wit.com/log">go.wit.com/log</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/log">git.wit.org/wit/log</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/log">github.com/wit-go/log</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/log"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
|
|
||||||
<tr> <td><h5>gui/ packages</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/gui</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/gui">go.wit.com/gui/gui</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/gui">git.wit.org/gui/gui</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/gui">github.com/wit-go/gui</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/gui"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/widget</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/widget">go.wit.com/gui/widget</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/widget">git.wit.org/gui/widget</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/widget">github.com/wit-go/widget</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/widget"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/gadgets</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/gadgets">go.wit.com/gui/gadgets</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/gadgets">git.wit.org/gui/gadgets</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/gadgets">github.com/wit-go/gadgets</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/gadgets"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/toolkits</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/toolkits">go.wit.com/gui/toolkits</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/toolkits">git.wit.org/gui/toolkits</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/toolkits">github.com/wit-go/toolkits</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/toolkits"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/debugger</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/debugger">go.wit.com/gui/debugger</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/debugger">git.wit.org/gui/debugger</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/debugger">github.com/wit-go/debugger</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/debugger"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/examples</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/examples">go.wit.com/gui/examples</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/examples">git.wit.org/gui/examples</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/examples">github.com/wit-go/examples</a></td>
|
|
||||||
<td> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/digitalocean</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/digitalocean">go.wit.com/gui/digitalocean</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/digitalocean">git.wit.org/gui/digitalocean</a></td>
|
|
||||||
<td> </td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/digitalocean"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>gui/cloudflare</td>
|
|
||||||
<td> <a href="//go.wit.com/gui/cloudflare">go.wit.com/gui/cloudflare</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/cloudflare">git.wit.org/gui/cloudflare</a></td>
|
|
||||||
<td> </td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/gui/cloudflare"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
<tr> <td><h5>Applications</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
<tr>
|
|
||||||
<td>control-panel-dns</td>
|
|
||||||
<td> <a href="//go.wit.com/apps/control-panel-dns">go.wit.com/apps/control-panel-dns</a></td>
|
|
||||||
<td> <a href="//git.wit.org/jcarr/control-panel-dns">git.wit.org/jcarr/control-panel-dns</a></td>
|
|
||||||
<td></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/apps/control-panels-dns"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>control-panel-digitalocean</td>
|
|
||||||
<td> <a href="//go.wit.com/apps/control-panel-digitalocean">go.wit.com/apps/control-panel-digitalocean</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/control-panel-digitalocean">git.wit.org/wit/control-panel-digitalocean</a></td>
|
|
||||||
<td></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/apps/control-panel-digitalocean"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>control-panel-cloudflare</td>
|
|
||||||
<td> <a href="//go.wit.com/apps/control-panel-cloudflare">go.wit.com/apps/control-panel-cloudflare</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/control-panel-cloudflare">git.wit.org/wit/control-panel-cloudflare</a></td>
|
|
||||||
<td></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/control-panels/cloudflare"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<tr>
|
|
||||||
<td>control-panel-cloudflare</td>
|
|
||||||
<td> <a href="//go.wit.com/control-panel-cloudflare">go.wit.com/control-panel-cloudflare</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/control-panel-cloudflare">git.wit.org/wit/control-panel-cloudflare</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/control-panel-cloudflare">github.com/wit-go/control-panel-cloudflare</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/control-panel-cloudflare"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<tr> <td></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
<tr> <td><h5>Support packages</h5></td> <td></td> <td></td> <td></td> <td></td> </tr>
|
|
||||||
<!--
|
|
||||||
<tr>
|
|
||||||
<td>go-arg</td>
|
|
||||||
<td> <a href="//go.wit.com/arg">go.wit.com/arg</a></td>
|
|
||||||
<td> <a href="//git.wit.org/gui/arg">git.wit.org/gui/arg</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/shell">github.com/alexflint/go-arg</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/shell"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
-->
|
|
||||||
<tr>
|
|
||||||
<td>arg</td>
|
|
||||||
<td> <a href="//go.wit.com/arg">go.wit.com/arg</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/arg">git.wit.org/wit/arg</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/go-arg">github.com/wit-go/go-arg</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/arg"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>spew</td>
|
|
||||||
<td> <a href="//go.wit.com/spew">go.wit.com/spew</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/spew">git.wit.org/wit/spew</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/spew">github.com/wit-go/spew</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/spew"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>dnssec</td>
|
|
||||||
<td> <a href="//go.wit.com/dnssec">go.wit.com/dnssec</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/dnssec">git.wit.org/wit/dnssec</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/dnssec">github.com/wit-go/dnssec</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/dnssec"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>shell</td>
|
|
||||||
<td> <a href="//go.wit.com/shell">go.wit.com/shell</a></td>
|
|
||||||
<td> <a href="//git.wit.org/wit/shell">git.wit.org/wit/shell</a></td>
|
|
||||||
<td> <a href="//github.com/wit-go/shell">github.com/wit-go/shell</a></td>
|
|
||||||
<td> <a href="//pkg.go.dev/go.wit.com/shell"> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td> <a href=""></a> </td>
|
|
||||||
<td> <a href=""> <img src="goReference.svg" alt="Go Reference" /> </a> </td>
|
|
||||||
</tr>
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!--
|
|
||||||
<center>
|
|
||||||
<div id="footer">
|
|
||||||
simple go git repo list like <a href=http://go.uber.org/>go.uber.org</a><p>
|
|
||||||
</div>
|
|
||||||
</center>
|
|
||||||
-->
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,10 +0,0 @@
|
||||||
# sample gowebd package mappings
|
|
||||||
|
|
||||||
go.wit.com/gui git.wit.org/gui/gui The GUI API intended for Control Panels
|
|
||||||
go.wit.com/widget git.wit.org/gui/widget Primitive Definitions for Buttons, Dropdowns, etc.
|
|
||||||
|
|
||||||
# Tutorials
|
|
||||||
|
|
||||||
go.wit.com/apps/helloworld git.wit.org/gui/helloworld A simple Demo
|
|
||||||
go.wit.com/apps/basicwindow git.wit.org/jcarr/basicwindow A bit more of a Demo
|
|
||||||
go.wit.com/apps/gadgetwindow git.wit.org/jcarr/gadgetwindow A more complicated Demo used for debugging the toolkits
|
|
|
@ -1,11 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta name="go-import" content="go.wit.com/gui/gui git https://git.wit.org/gui/gui">
|
|
||||||
<meta name="go-source" content="go.wit.com/gui/gui https://git.wit.org/gui/gui https://git.wit.org/gui/tree/master{/dir} https://git.wit.org/gui/gui/tree/master{/dir}/{file}#L{line}">
|
|
||||||
<meta http-equiv="refresh" content="0; url=https://git.wit.org/gui/gui">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
Nothing to see here. Please <a href="https://git.wit.org/gui/gui">move along</a>.
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue