Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbConfig ¶
type PageNumbersOptions ¶
type PrintingOptions ¶
type Report ¶
type Report struct { ID uint32 `json:"id"` Name string `json:"name" validate:"required"` Title string `json:"title" validate:"required"` Description string `json:"description"` Body string `json:"body" validate:"required"` Header string `json:"header"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` }
type ReportAttributesForPdfGenerator ¶
type ReportAttributesForPdfGenerator struct { Title string Body string Header safego.Option[string] }
ReportAttributesForPdfGenerator is the attributes needed to generate a PDF. It is used in core/pdf-generators.go.
type ReportWithNullableFields ¶
type ReportWithNullableFields struct { ID uint32 `json:"id"` Name sql.NullString `json:"name" validate:"required"` Title sql.NullString `json:"title" validate:"required"` Description sql.NullString `json:"description"` Body sql.NullString `json:"body" validate:"required"` Header sql.NullString `json:"header"` CreatedAt sql.NullInt64 `json:"createdAt"` UpdatedAt sql.NullInt64 `json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.