package
0.0.0-20250228153303-1c24ddc7d227
Repository: https://github.com/teamsorghum/go-common.git
Documentation: pkg.go.dev

# Functions

BuildMappedDeleteSQL is used to build mapped delete SQL statement.
BuildMappedInsertSQL is used to build mapped insert SQL statement.
BuildMappedQuerySQL is used to build mapped query SQL statement.
BuildMappedUpdateSQL is used to build mapped update SQL statement.
BuildNamedDeleteSQL is used to build named delete SQL statement.
BuildNamedInsertSQL is used to build named insert SQL statement.
BuildNamedQuerySQL is used to build named query SQL statement.
BuildNamedUpdateSQL is used to build named update SQL statement.
NewMockRepo creates a new mock instance.
NewPool initializes a new database connection pool.

# Variables

DOCols contains the column names of [DO].

# Structs

DO defines a common data object.
KV is the key value pair.
MockRepo is a mock of Repo interface.
MockRepoMockRecorder is the mock recorder for MockRepo.

# Interfaces

Repo defines a interface for common database operations, where DO is the struct of data object.