aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-19 13:19:11 -0300
committerKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-19 13:19:11 -0300
commit149b885f10011c0cb9fd49bc162165d4ecff4331 (patch)
tree9ba48446cbf3068438fd1dd512b194ffdf299a9b /client.go
parent90bcb54980998c757059957d218e2cf1899e462d (diff)
go fmt, go vet
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index f34b7d4..3cdf21b 100644
--- a/client.go
+++ b/client.go
@@ -70,7 +70,7 @@ type AdminPage struct {
IsLocal bool
PostBlacklist []PostBlacklist
AutoSubscribe bool
- Themes *[]string
+ Themes *[]string
}
type Report struct {
@@ -535,7 +535,7 @@ func PostGet(w http.ResponseWriter, r *http.Request, db *sql.DB) {
err := t.ExecuteTemplate(w, "layout", returnData)
if err != nil {
// TODO: actual error handler
- log.Printf("PostGet: %s\n")
+ log.Printf("PostGet: %s\n", err)
}
}