Merge pull request #1 from peterfaseun/fix-haikunator

Fix haikunator invocation
This commit is contained in:
Alex Myasoedov 2016-10-09 19:29:31 -04:00 committed by GitHub
commit c877b47ad0

View file

@ -32,7 +32,7 @@ func NewApp() *gin.Engine {
"name": fname, "name": fname,
}).Info("Restore?") }).Info("Restore?")
haikunator := haikunator.NewHaikunator() haikunator := haikunator.New()
haikunator.TokenLength = 0 haikunator.TokenLength = 0
name := haikunator.Haikunate() name := haikunator.Haikunate()
path := fmt.Sprintf("slides/%s.md", name) path := fmt.Sprintf("slides/%s.md", name)