Help us shape the future of Go! Take the 2026 Go Developer Survey

validate

package
v0.16.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package validate provides input validation functions for the obol CLI. Each function returns nil on success or a descriptive error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name(s string) error

Name validates a resource name (k8s-safe DNS label).

func Price

func Price(s string) error

Price validates a decimal price string (positive, parseable as float).

func URL

func URL(s string) error

URL validates a URL string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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