array

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slice

type Slice struct {
}

func NewSlice

func NewSlice() *Slice

func (*Slice) InInt64Arr

func (*Slice) InInt64Arr(val int64, arr []int64) bool

func (*Slice) InIntArr

func (*Slice) InIntArr(val int, arr []int) bool

func (*Slice) InStrArr

func (*Slice) InStrArr(val string, arr []string) bool

func (*Slice) Int64ToMap

func (*Slice) Int64ToMap(req []int64) (res map[int64]bool)

func (*Slice) Int64ToSql

func (*Slice) Int64ToSql(req []int64) (query []string, args []int64)

func (*Slice) Int64ToStr

func (*Slice) Int64ToStr(req []int64) (res []string)

func (*Slice) IntToMap

func (*Slice) IntToMap(req []int) (res map[int]bool)

func (*Slice) IntToSql

func (*Slice) IntToSql(req []int) (query []string, args []int)

func (*Slice) IntToStr

func (*Slice) IntToStr(req []int) (res []string)

func (*Slice) StrToInt64

func (*Slice) StrToInt64(req []string) (res []int64)

func (*Slice) StrToMap

func (*Slice) StrToMap(req []string) (res map[string]bool)

func (*Slice) StrToSql

func (*Slice) StrToSql(req []string) (query, args []string)

Jump to

Keyboard shortcuts

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