package
Version:
v0.0.0-...-8c91fe2
Opens a new window with list of versions in this module.
Published: Jun 29, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Event struct {
Type string `json:"type"`
Data any `json:"data"`
}
type NewNote struct {
Title string `json:"title"`
Text string `json:"text"`
}
type Note struct {
Id uint64 `json:"id" example:"1"`
Title string `json:"title" example:"my note"`
Text string `json:"text" example:"my note text"`
UpdatedAt time.Time `json:"updatedAt" example:"2006-01-02T15:04:05Z"`
CreatedAt time.Time `json:"createdAt" example:"2006-01-02T15:04:05Z"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.