common

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package common provides shared utilities for PostgreSQL repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeDataType

SafeDataType returns the data type value or TEXT if nil.

func SafeString

func SafeString(s *string) string

SafeString returns the string value or empty string if nil.

func SafeTime

func SafeTime(t *time.Time) time.Time

SafeTime returns the time value or zero time if nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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