forms

package
v0.0.0-...-1746241 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: MIT Imports: 1 Imported by: 2 modules, 12 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Base Forms

This package is the canonical entrypoint for platform-level PocketBase forms.

It currently re-exports the legacy top-level forms package so modules can migrate without a large atomic rename. New service code should prefer importing:

github.com/pocketbase/pocketbase/services/base/forms

over:

github.com/pocketbase/pocketbase/forms

The legacy package remains as a compatibility layer until the migration is complete.

Documentation

Overview

Package models implements various services used for request data validation and applying changes to existing DB models through the app Dao.

Index

Constants

This section is empty.

Variables

View Source
var IdRegex = regexp.MustCompile(`^[^\@\#\$\&\|\.\,\'\"\\\/\s]+$`)

base ID value regex pattern

Functions

func RunInterceptors

func RunInterceptors[T any](
	data T,
	next InterceptorNextFunc[T],
	interceptors ...InterceptorFunc[T],
) error

runInterceptors executes the provided list of interceptors.

Types

type InterceptorFunc

type InterceptorFunc[T any] func(next InterceptorNextFunc[T]) InterceptorNextFunc[T]

InterceptorFunc defines a single interceptor function that will execute the provided next func handler.

type InterceptorNextFunc

type InterceptorNextFunc[T any] func(t T) error

InterceptorNextFunc is a interceptor handler function. Usually used in combination with InterceptorFunc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL