aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-31 09:20:24 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-31 09:20:24 +0800
commit543873b0ed55d803a3231a1eeca4f49f9a197867 (patch)
tree54b5fbe54382f476ccced1da2b3f04c023744dca
parentRemove TODO comment on panics since they're only in main now (diff)
downloadmaild-543873b0ed55d803a3231a1eeca4f49f9a197867.tar.gz
maild-543873b0ed55d803a3231a1eeca4f49f9a197867.tar.zst
maild-543873b0ed55d803a3231a1eeca4f49f9a197867.zip
config.go: That comment is not a package doc
-rw-r--r--config.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.go b/config.go
index 5641af2..1a89987 100644
--- a/config.go
+++ b/config.go
@@ -1,8 +1,7 @@
-// TODO: edit scfg to require fields to exist unless explicitly
-//
-// marked optional.
package main
var config struct {
Server_name string `scfg:"server_name"`
}
+
+// TODO: edit scfg to require fields to exist unless explicitly marked optional.