gopkg

package module
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

codebeat badge

GO libs

The libs for Go.



Installation

  go get -u github.com/learninto/gopkg

License

The Go libs is licensed under the Apache License.

FOSSA Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindJsonTag

func FindJsonTag(param interface{}) (res []string)

FindJsonTag 查询json标签

func JsonToStruct

func JsonToStruct(bean interface{}, body []byte) (err error)

func RowToStruct

func RowToStruct(bean interface{}, row *sql.Row) (err error)

RowToStruct sql.Row 转 结构体

func RowsToStruct

func RowsToStruct(rows *sql.Rows) (message json.RawMessage, err error)

Types

This section is empty.

Directories

Path Synopsis
Package cronexpr parses cron time expressions.
Package cronexpr parses cron time expressions.

Jump to

Keyboard shortcuts

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