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

20 lines
244 B
Go
Raw Normal View History

2022-12-28 22:22:36 -05:00
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
}