tsql

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFoundErr

func IsNotFoundErr(err error) bool

func SelectAll

func SelectAll[T any](data T, prefix ...string) string

Types

type SecTimestamp

type SecTimestamp int64

SecTimestamp 用于mysql的秒时间戳类型

func NewSecTimestamp

func NewSecTimestamp(t time.Time) SecTimestamp

func (*SecTimestamp) Scan

func (s *SecTimestamp) Scan(src interface{}) error

func (*SecTimestamp) Time

func (s *SecTimestamp) Time() time.Time

func (*SecTimestamp) Value

func (s *SecTimestamp) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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