aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutmet <me.git@gutmet.org>2019-06-26 22:26:22 +0200
committergutmet <me.git@gutmet.org>2019-06-26 22:26:22 +0200
commit7bc4da0ec2a6d0043c5b2248b6dd57b7c4870934 (patch)
treebeec693475f5439f9177d40a373c951efa6f0493
parent1508a31b33e97a69c909173be83022acba4216e6 (diff)
downloadwombat-7bc4da0ec2a6d0043c5b2248b6dd57b7c4870934.tar.gz
get rid of go vet failures
-rw-r--r--post/post.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/post.go b/post/post.go
index 62e83d2..0c7797f 100644
--- a/post/post.go
+++ b/post/post.go
@@ -6,7 +6,7 @@ import (
"fmt"
"git.gutmet.org/goutil.git"
"git.gutmet.org/wombat.git/blog"
- . "git.gutmet.org/wombat.git/generate"
+ gen "git.gutmet.org/wombat.git/generate"
"git.gutmet.org/wombat.git/initer"
"io/ioutil"
"os"
@@ -89,7 +89,7 @@ func postNew(fl postFlags) error {
return err
}
noserve := (content != "")
- return Generate(GenerateFlags{Noserve: noserve})
+ return gen.Generate(gen.GenerateFlags{Noserve: noserve})
}
type postFlags struct {