internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package internal provides shared utilities for gcpvalidate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasTrimmedWhitespace

func HasTrimmedWhitespace(s string) bool

HasTrimmedWhitespace checks if a string has no leading or trailing whitespace. Returns true if the string is trimmed (valid), false if it has whitespace (invalid).

func IsValidPathSegment

func IsValidPathSegment(s string) bool

IsValidPathSegment checks if a string is valid for use in a resource path segment. It must be non-empty, contain no whitespace anywhere, and contain no slashes.

Types

This section is empty.

Directories

Path Synopsis
Package testutil provides common testing utilities for gcpvalidate packages.
Package testutil provides common testing utilities for gcpvalidate packages.

Jump to

Keyboard shortcuts

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