1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-09-29 04:45:55 -04:00
neonmodem/models/post/post.go
2022-12-28 22:22:36 -05:00

20 lines
244 B
Go

package post
type Post struct {
ID string
Subject string
}
func (post Post) FilterValue() string {
return post.Subject
}
func (post Post) Title() string {
return post.Subject
}
func (post Post) Description() string {
return post.ID
}