Versions in this module Expand all Collapse all v1 v1.0.2 Oct 26, 2025 Changes in this version + const DataKey + const FilterKey + const PathIDKey + const RequestKey + const UserKey + func ProcessData[T AddData](c *core.Ctx) error + func ProcessFilter(c *core.Ctx) error + func ProcessPathID(c *core.Ctx) error + func ProcessUpdateData[T UpdateData](c *core.Ctx) error + func SanitizeString(input string) string + func SanitizeStruct(target any) + func ToListResponse[T any, R any](records []T, transformerFn func(T) R) []R + type AddData interface + type Error struct + Code string + Data core.Data + Message string + func Parse[T any](c *core.Ctx, structData *T) *Error + func PathID(c *core.Ctx, idName ...string) (int, *Error) + func Validate(structData any, msgForTagFunc ...validation.MsgForTagFunc) *Error + type Filter struct + Keyword string + OrderBy string + Page int + PerPage int + func FilterData(c *core.Ctx) Filter + type List struct + Data []T + Meta Meta + type ListApi struct + func (h *ListApi) Handle(c *core.Ctx) error + func (h *ListApi) Validate(c *core.Ctx) error + type Meta struct + Page int + PerPage int + Total int + type Success struct + Data core.Data + Message string + type UpdateData interface + SetID func(int) v1.0.1 Oct 23, 2025 v1.0.0 Oct 23, 2025