types

package
v0.3.17 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

README

对 sqlx types.NullJSONText 等数据结构提供一些便利的函数等

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmptySliceNullJSONText

func NewEmptySliceNullJSONText() (result types.NullJSONText)

NewEmptySliceNullJSONText 参加一个空的 切片的 types.NullJSONText

func NewInt32SliceNullJSONText

func NewInt32SliceNullJSONText(source []int32, empty bool) (result types.NullJSONText, err error)

NewInt32SliceNullJSONText 创建 一个 int32 切片的 NullJSONText

func NewInt64SliceNullJSONText

func NewInt64SliceNullJSONText(source []int64, empty bool) (result types.NullJSONText, err error)

NewInt64SliceNullJSONText 创建 一个 int64 切片的 NullJSONText

func NewSliceNullJSONText

func NewSliceNullJSONText(source interface{}, empty bool) (result types.NullJSONText, err error)

NewSliceNullJSONText 创建 一个 切片的 NullJSONText, 不关心 source 中元素的类型

func NewStringSliceNullJSONText

func NewStringSliceNullJSONText(source []string, empty bool) (result types.NullJSONText, err error)

NewStringSliceNullJSONText 创建 一个 string 切片的 NullJSONText

Types

This section is empty.

Jump to

Keyboard shortcuts

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