Documentation ¶
Overview ¶
Package usernotes maintains notes of a user
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresStore ¶
Types ¶
type Note ¶
type Note struct { ID string Title string Content string Creator *users.User CreatedAt time.Time UpdatedAt time.Time }
func (*Note) ValidateForCreate ¶
type UserNotes ¶
type UserNotes struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(store store) *UserNotes
func (*UserNotes) GetNoteByID ¶
Click to show internal directories.
Click to hide internal directories.