compatibility

package
v0.0.0-...-56294bc Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDate

func DefaultDate() string

func IsAtLeast

func IsAtLeast(compatibilityDate, requiredDate string) (bool, error)

IsAtLeast checks whether compatibilityDate is equal to or after requiredDate. An empty compatibilityDate falls back to the default compatibility date.

func TodayDate

func TodayDate() string

func ValidateDate

func ValidateDate(value string) error

ValidateDate validates a compatibility date in YYYY-MM-DD format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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