use new finstr module
This commit is contained in:
parent
7d8ce61d05
commit
2df80b146f
2
go.mod
2
go.mod
|
@ -3,7 +3,7 @@ module git.gutmet.org/wombat.git
|
|||
go 1.14
|
||||
|
||||
require (
|
||||
git.gutmet.org/finstr.git v0.0.0-20210613105921-78d255a0ad9c // indirect
|
||||
git.gutmet.org/finstr.git v0.0.0-20210626153231-f3d464f55eb4 // indirect
|
||||
git.gutmet.org/goutil.git v0.0.0-20201108182825-c19893df11f9
|
||||
git.gutmet.org/simpleserver.git v0.0.0-20201011112611-555b83d5de53
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
|
|
|
@ -33,8 +33,8 @@ func main() {
|
|||
ifInited(goutil.NewCommand("serve", serve, "just execute web server")),
|
||||
ifInited(goutil.NewCommandWithFlags("newpost", post.Command, "create a new blogpost")),
|
||||
ifInited(goutil.NewCommandWithFlags("newpage", page.Command, "create a new page")),
|
||||
ifInited(goutil.NewCommandWithFlags("newgallery", gallery.NewCommand, "init new gallery")),
|
||||
ifInited(goutil.NewCommandWithFlags("genpics", gallery.Command, "generate galleries")),
|
||||
ifInited(goutil.NewCommandWithFlags("newgallery", gallery.NewCommand, "init new picture gallery")),
|
||||
ifInited(goutil.NewCommandWithFlags("genpics", gallery.Command, "generate picture galleries")),
|
||||
}
|
||||
err := goutil.Execute(commands)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user