get rid of go vet failures

This commit is contained in:
gutmet 2019-06-26 22:26:22 +02:00
parent 1508a31b33
commit 7bc4da0ec2

View File

@ -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 {