utility

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package utility provides general-purpose helper functions shared across Tupic services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseUUID

func ParseUUID(s string) (uuid.UUID, error)

ParseUUID parses a UUID string and wraps any parse error with context.

func StringDereference

func StringDereference(p *string) string

StringDereference returns the string value of p, or "" if p is nil.

func StringOrNil

func StringOrNil(value string) *string

StringOrNil returns nil if value is empty after trimming.

Types

This section is empty.

Jump to

Keyboard shortcuts

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