mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-12-04 14:46:37 -05:00
25 lines
309 B
Go
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
|
|
}
|