make it compile
This commit is contained in:
parent
dba84638c9
commit
c896ac31c5
@ -15,6 +15,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type catalogModel struct {
|
type catalogModel struct {
|
||||||
|
SFW bool
|
||||||
frontend string
|
frontend string
|
||||||
prefix string
|
prefix string
|
||||||
board string
|
board string
|
||||||
@ -50,6 +51,7 @@ func (self *boardModel) MarkSFW(sfw bool) {
|
|||||||
for idx := range self.threads {
|
for idx := range self.threads {
|
||||||
self.threads[idx].MarkSFW(sfw)
|
self.threads[idx].MarkSFW(sfw)
|
||||||
}
|
}
|
||||||
|
self.SFW = sfw
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *boardModel) I18N(i *I18N) {
|
func (self *boardModel) I18N(i *I18N) {
|
||||||
@ -67,6 +69,7 @@ func (self *catalogModel) MarkSFW(sfw bool) {
|
|||||||
for idx := range self.threads {
|
for idx := range self.threads {
|
||||||
self.threads[idx].MarkSFW(sfw)
|
self.threads[idx].MarkSFW(sfw)
|
||||||
}
|
}
|
||||||
|
self.SFW = sfw
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *catalogModel) Navbar() string {
|
func (self *catalogModel) Navbar() string {
|
||||||
@ -135,6 +138,7 @@ type boardModel struct {
|
|||||||
board string
|
board string
|
||||||
page int
|
page int
|
||||||
pages int
|
pages int
|
||||||
|
SFW bool
|
||||||
threads []ThreadModel
|
threads []ThreadModel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user