summaryrefslogtreecommitdiff
path: root/indexHtml.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-10 08:06:20 -0600
committerJeff Carr <[email protected]>2024-02-10 08:06:20 -0600
commite8c7e33bfdf5b2c0c44df52c52a2e90daa97aa85 (patch)
tree4a650c9cfc54af19338d5d84446762af2cdb3f75 /indexHtml.go
parent459350eaa1c4a79f7b5332be16ae1907a178f306 (diff)
cosmetics
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'indexHtml.go')
-rw-r--r--indexHtml.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexHtml.go b/indexHtml.go
index 0aa4b17..af32e57 100644
--- a/indexHtml.go
+++ b/indexHtml.go
@@ -37,13 +37,13 @@ func indexBodyStart(w http.ResponseWriter) {
// fmt.Fprintln(w, " <thead>")
fmt.Fprintln(w, " <tr>")
fmt.Fprintln(w, " <th>Package (IPv6 only)</th>")
+ fmt.Fprintln(w, " <th>Documentation</th>")
fmt.Fprintln(w, " <th>Version</th>")
fmt.Fprintln(w, " <th>Age</th>")
fmt.Fprintln(w, " <th>Dev Version</th>")
fmt.Fprintln(w, " <th>Description</th>")
// fmt.Fprintln(w, " <th>Authoritative sources (IPv6 only)</th>")
// fmt.Fprintln(w, " <th></th>")
- fmt.Fprintln(w, " <th>GO Docs</th>")
fmt.Fprintln(w, " </tr>")
// fmt.Fprintln(w, " </thead>")
fmt.Fprintln(w, " <tbody>")
@@ -98,6 +98,7 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri
fmt.Fprintln(w, " <tr>")
// fmt.Fprintln(w, " <td>"+gourl+"</td>")
fmt.Fprintln(w, " <td> <a href=\"//"+gourl+"\">"+gourl+"</a></td>")
+ fmt.Fprintln(w, " <td> <a href=\"//pkg.go.dev/"+gourl+"\"> <img src=\"goReference.svg\" alt=\"pkg.go.dev\" /> </a> </td>")
// for i, s := range versionMap {
// log.Println("found i =", i, "with", "s =", s)
// }
@@ -133,7 +134,6 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri
fmt.Fprintln(w, " <td></td>") // dev version
fmt.Fprintln(w, " <td>"+desc+"</td>")
// fmt.Fprintln(w, " <td> <a href=\"//"+gourl+"\">"+giturl+"</a></td>")
- fmt.Fprintln(w, " <td> <a href=\"//pkg.go.dev/"+gourl+"\"> <img src=\"goReference.svg\" alt=\"pkg.go.dev\" /> </a> </td>")
fmt.Fprintln(w, " </tr>")
fmt.Fprintln(w, "")
}