Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleRequest ¶
func HandleRequest[T any](ctx context.Context, model T, g ModelGetter, s ModelSetter, diags *diag.Diagnostics, h func(m T) bool)
func MinifyHTML ¶ added in v0.3.0
Types ¶
type ModelGetter ¶
type ModelGetter interface {
Get(ctx context.Context, target any) diag.Diagnostics
}
type ModelSetter ¶
type ModelSetter interface {
Set(ctx context.Context, val any) diag.Diagnostics
}
Click to show internal directories.
Click to hide internal directories.