types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package types provides utility functions for pointer conversions and string formatting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleQuote

func DoubleQuote(str string) string

DoubleQuote returns a string with the input string quoted and escaped for

func IsDoubleQuoted

func IsDoubleQuoted(s string) bool

IsDoubleQuoted checks if a string is double-quoted

func IsNumeric

func IsNumeric(s string) bool

IsNumeric checks if a string consists only of digits

func IsSingleQuoted

func IsSingleQuoted(s string) bool

IsSingleQuoted checks if a string is single-quoted

func IsUppercase

func IsUppercase(s string) bool

IsUppercase checks if a string is all in uppercase (A-Z)

func Quote

func Quote(str string) string

Quote returns a string with the input string quoted and escaped for

Types

This section is empty.

Jump to

Keyboard shortcuts

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