aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-07-04 16:24:51 -0700
committerAdam Mathes <adam@trenchant.org>2018-07-04 16:24:51 -0700
commit893ea3825efea1f2ec187780e8653a1a2641d173 (patch)
tree6668b285acf4299cfd5f546e09a719febdae73d7 /main.go
parent9511ccc7e0cfac59c7f0ba0e89aa794455369941 (diff)
downloadneko-893ea3825efea1f2ec187780e8653a1a2641d173.tar.gz
neko-893ea3825efea1f2ec187780e8653a1a2641d173.tar.bz2
neko-893ea3825efea1f2ec187780e8653a1a2641d173.zip
documentation updates
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.go b/main.go
index c860653..f807afe 100644
--- a/main.go
+++ b/main.go
@@ -9,8 +9,8 @@ import (
"adammathes.com/neko/vlog"
"adammathes.com/neko/web"
"fmt"
- "time"
flag "github.com/ogier/pflag"
+ "time"
)
func main() {
@@ -69,7 +69,7 @@ func main() {
if minutes < 1 {
return
}
- ticker := time.NewTicker(time.Minute*time.Duration(minutes))
+ ticker := time.NewTicker(time.Minute * time.Duration(minutes))
defer ticker.Stop()
done := make(chan bool)
for {
@@ -88,4 +88,3 @@ func main() {
config.Config.Port)
web.Serve()
}
-