1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-12-04 14:46:37 -05:00
neonmodem/models/forum/forum.go
2023-01-05 20:47:20 -05:00

25 lines
309 B
Go

package forum
import "strings"
type Forum struct {
ID string
Name string
Info string
SysIDX int
}
func (forum Forum) FilterValue() string {
return forum.Name
}
func (forum Forum) Title() string {
return strings.Title(forum.Name)
}
func (forum Forum) Description() string {
return forum.Info
}