From 7bc4da0ec2a6d0043c5b2248b6dd57b7c4870934 Mon Sep 17 00:00:00 2001 From: gutmet Date: Wed, 26 Jun 2019 22:26:22 +0200 Subject: [PATCH] get rid of go vet failures --- post/post.go | 4 ++-- 1 file 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 {