mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-04 16:16:22 -07:00
Fix template issues with pointer/non-pointer receivers
This commit is contained in:
parent
34e6887490
commit
8464c2447c
8 changed files with 39 additions and 40 deletions
|
@ -81,7 +81,7 @@ func recentPostsCallback(_ http.ResponseWriter, request *http.Request, _ *gcsql.
|
|||
}
|
||||
}
|
||||
boardidStr := request.FormValue("boardid")
|
||||
var recentposts []building.Post
|
||||
var recentposts []*building.Post
|
||||
var boardid int
|
||||
if boardidStr != "" {
|
||||
if boardid, err = strconv.Atoi(boardidStr); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue