utils

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Coalesce

func Coalesce[T comparable](value T, fallbacks ...T) T

Coalesce returns the first non-zero value among value and fallbacks.

func SplitByDelimiter

func SplitByDelimiter(s string, delimiter rune) []string

SplitByDelimiter splits s on delimiter while respecting nested SQL expressions, quoted values, dollar quoted values, and comments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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