Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSlug ¶ added in v0.81.1
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 ¶
NormalizeVersion ensures the version starts with a 'v'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.