factory

package
v0.0.0-...-cd49875 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCols

func GetCols(model any) []string

func GetInsertRows

func GetInsertRows(model any, nonZeroVal bool, customVal map[string]any) []driver.Value

func GetRows

func GetRows(model any, nonZeroVal bool) []driver.Value

func GetUpdateRows

func GetUpdateRows(model any, nonZeroVal bool, idCol string, idVal any, hasUpdatedAt bool) []driver.Value

func GetUpdateRowsWithUserID

func GetUpdateRowsWithUserID(model any, nonZeroVal bool, idVal any, userID int64, hasUpdatedAt bool) []driver.Value

func InArray

func InArray(val interface{}, array interface{}) (found bool)

func StubbedTodoList

func StubbedTodoList() *entity.TodoList

func StubbedTodoLists

func StubbedTodoLists() []*entity.TodoList

Types

This section is empty.

Jump to

Keyboard shortcuts

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