Documentation ¶
Index ¶
- Variables
- type Note
- type Postgres
- func (p Postgres) Close()
- func (p Postgres) CreateNote(note Note, authorizations []string) (int32, error)
- func (p Postgres) DeleteNote(noteID int32, authorizations []string) error
- func (p Postgres) Note(noteID int32, authorizations []string) (Note, error)
- func (p Postgres) UpdateNote(note Note, authorizations []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoteListNotFound = errors.New("requested note-list does not exists")
View Source
var ErrNoteNotFound = errors.New("requested note does not exists")
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
func (Postgres) CreateNote ¶
func (Postgres) DeleteNote ¶
Click to show internal directories.
Click to hide internal directories.