Unexport private function

This commit is contained in:
Deluan
2020-10-01 09:56:09 -04:00
parent 03867bd8b2
commit cf8756b14b
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import (
)
// Injects the config in the `index.html` template
func ServeIndex(ds model.DataStore, fs http.FileSystem) http.HandlerFunc {
func serveIndex(ds model.DataStore, fs http.FileSystem) http.HandlerFunc {
policy := bluemonday.UGCPolicy()
return func(w http.ResponseWriter, r *http.Request) {
c, err := ds.User(r.Context()).CountAll()