pgtable

package
v0.0.0-...-bd7812a Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInsertColumnsSql

func GetInsertColumnsSql(cols []string) string

func GetInsertNamedValuesSql

func GetInsertNamedValuesSql(cols []string) string

func GetSelectColumnsSql

func GetSelectColumnsSql(cols []string) string

func GetStructFields

func GetStructFields(i interface{}, skips []string) []string

func GetUpdateSetSql

func GetUpdateSetSql(cols []string) string

Types

type TableBaseColumn

type TableBaseColumn struct {
	CreatedAt time.Time `db:"created_at"`
	UpdatedAt time.Time `db:"updated_at"`
}

Jump to

Keyboard shortcuts

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