Archived
1
0

make it compile

This commit is contained in:
Jeff 2018-08-05 09:47:21 +10:00
parent dba84638c9
commit c896ac31c5

View File

@ -15,6 +15,7 @@ import (
)
type catalogModel struct {
SFW bool
frontend string
prefix string
board string
@ -50,6 +51,7 @@ func (self *boardModel) MarkSFW(sfw bool) {
for idx := range self.threads {
self.threads[idx].MarkSFW(sfw)
}
self.SFW = sfw
}
func (self *boardModel) I18N(i *I18N) {
@ -67,6 +69,7 @@ func (self *catalogModel) MarkSFW(sfw bool) {
for idx := range self.threads {
self.threads[idx].MarkSFW(sfw)
}
self.SFW = sfw
}
func (self *catalogModel) Navbar() string {
@ -135,6 +138,7 @@ type boardModel struct {
board string
page int
pages int
SFW bool
threads []ThreadModel
}