better docs

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-06 14:31:44 -06:00
parent 99c773b65b
commit 28e0f09a27
1 changed files with 9 additions and 8 deletions

View File

@ -33,15 +33,8 @@ func indexBodyStart(w http.ResponseWriter) {
// fmt.Fprintln(w, "
fmt.Fprintln(w, "<body>")
fmt.Fprintln(w, " <br>")
fmt.Fprintln(w, "There are debian packages for most of these:<br>")
fmt.Fprintln(w, "There are debian packages for most of these on mirrors.wit.com<br>")
fmt.Fprintln(w, " <br>")
fmt.Fprintln(w, "echo deb http://mirrors.wit.com/wit/ sid main > /etc/apt/sources.list.d/wit.list <br>")
fmt.Fprintln(w, "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4A854AEAF7E0E16D <br>")
fmt.Fprintln(w, "apt update<br>")
fmt.Fprintln(w, "apt install go-clone # replicates the old 'go get' behavior<br>")
fmt.Fprintln(w, "apt install go-deb # make a debian package from a golang project<br>")
fmt.Fprintln(w, "apt install networkquality # debian package of apple's command line speedtest tool<br>")
fmt.Fprintln(w, "apt install virtigo # virt-manager from the command line<br>")
fmt.Fprintln(w, " <br>")
fmt.Fprintln(w, " <div class=\"container\">")
fmt.Fprintln(w, " <div class=\"row\">")
@ -164,6 +157,14 @@ func indexDivEnd(w http.ResponseWriter) {
}
func indexBodyEnd(w http.ResponseWriter) {
fmt.Fprintln(w, " <br>")
fmt.Fprintln(w, "echo deb http://mirrors.wit.com/wit/ sid main > /etc/apt/sources.list.d/wit.list <br>")
fmt.Fprintln(w, "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4A854AEAF7E0E16D <br>")
fmt.Fprintln(w, "apt update<br>")
fmt.Fprintln(w, "apt install go-clone # replicates the old 'go get' behavior<br>")
fmt.Fprintln(w, "apt install go-deb # make a debian package from a golang project<br>")
fmt.Fprintln(w, "apt install networkquality # debian package of apple's command line speedtest tool<br>")
fmt.Fprintln(w, "apt install virtigo # virt-manager from the command line (runs wit.com)<br>")
fmt.Fprintln(w, " </body>")
fmt.Fprintln(w, " </html>")
}