Skip to content

Commit

Permalink
Add missing queries struct to app fixing panic
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 8, 2019
1 parent cc55e20 commit 4f8c6bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func main() {
logger.Fatalf("no SQL queries loaded: %v", err)
}
app.search = search.NewSearch(&q)
app.queries = &q

// Pagination.
o := paginator.Default()
Expand Down

0 comments on commit 4f8c6bc

Please sign in to comment.