Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct { EntryId int64 `json:"entry_id"` Name string `json:"name"` Namespace string `json:"namespace"` ParentEntryID *int64 `json:"parent_entry_id"` Source string `json:"source"` Content string `json:"content,omitempty"` Summary string `json:"summary,omitempty"` WebUrl string `json:"web_url,omitempty"` HeaderImage string `json:"header_image,omitempty"` SubContent string `json:"sub_content,omitempty"` Marked *bool `json:"marked,omitempty"` Unread *bool `json:"unread,omitempty"` CreatedAt time.Time `json:"created_at"` ChangedAt time.Time `json:"changed_at"` }
type DocumentFilter ¶
type DocumentFilter struct { Namespace string Search string FuzzyName string ParentID *int64 Source string Marked *bool Unread *bool CreatedAtStart *time.Time CreatedAtEnd *time.Time ChangedAtStart *time.Time ChangedAtEnd *time.Time // Pagination Page int64 PageSize int64 Order DocumentOrder }
func (*DocumentFilter) String ¶
func (f *DocumentFilter) String() string
type DocumentOrder ¶
func (DocumentOrder) String ¶
func (o DocumentOrder) String() string
Click to show internal directories.
Click to hide internal directories.