Skip to content

checks

import "github.com/nuqs-org/nuqs/checks"

Package checks lists every check that ships with Nuqs.

To add a check, create a folder next to the others, implement check.Check, write its tests and add it to All below. The tests in this package make sure every check in the list is valid and has its own tests.

Functions

All

All returns a fresh list of every built-in check.

func All() []check.Check

Defined in checks/checks.go:17