input

package
v0.83.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSlug added in v0.81.1

func IsSlug(slug string) bool

IsSlug checks if a string is a valid HCP slug, which is 3-36 characters long, begins with a letter or number, ends with a letter or number, and contains only [A-Za-z0-9-].

func NormalizeVersion

func NormalizeVersion(version string) string

NormalizeVersion ensures the version starts with a 'v'

Types

This section is empty.

Jump to

Keyboard shortcuts

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