Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidError ¶
type InvalidError struct {
// contains filtered or unexported fields
}
func (InvalidError) Error ¶
func (e InvalidError) Error() string
type PagedResponse ¶
type PagedResponse[T any] struct { Page Page `json:"-"` TotalCount int `json:"totalCount"` Items []T `json:"items"` }
func (PagedResponse[T]) MarshalJSON ¶
func (p PagedResponse[T]) MarshalJSON() ([]byte, error)
Implement json.Marshaler interface to flatten the Page struct
Click to show internal directories.
Click to hide internal directories.