diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:02:02 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:02:02 +0200 |
commit | c34d0840eb06673f681371d7384bd219ae43dd09 (patch) | |
tree | 0bce6a227229d03385cc32c61cde16244dcc31de /src | |
parent | 91e34fcf151aa1c4bf7be930c17c1ce230105997 (diff) |
Add comments
Diffstat (limited to 'src')
-rw-r--r-- | src/email/email.go | 2 | ||||
-rw-r--r-- | src/http.go | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/email/email.go b/src/email/email.go index 0f2c93d..33b30e0 100644 --- a/src/email/email.go +++ b/src/email/email.go @@ -1,5 +1,7 @@ package email +/* TODO: Put this in /pkg */ + import ( "crypto/tls" "fmt" diff --git a/src/http.go b/src/http.go index ce31372..b785bca 100644 --- a/src/http.go +++ b/src/http.go @@ -155,6 +155,7 @@ func setUserLanguage(w http.ResponseWriter, r *http.Request) { loc := r.FormValue("locale") _, ok := i18n.Printers[loc] if !ok { + /* TODO: Make this page pretty? */ w.WriteHeader(http.StatusUnprocessableEntity) fmt.Fprintf(w, "Locale ā%sā is invalid or unsupported", loc) return |