hadata

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFloatFromString added in v0.1.5

func GetFloatFromString(d string) (float64, error)

func GetStringFromInt added in v0.1.4

func GetStringFromInt(d int) string

get string from int

func InterStringSlice added in v0.1.8

func InterStringSlice(s1 []string, s2 []string) []string

func IsInStringSlice added in v0.0.24

func IsInStringSlice(list []string, data string) bool

check is data is in list

func MapToStruct

func MapToStruct(input interface{}, output interface{}) error

func StructToMap

func StructToMap(item interface{}) map[string]interface{}

func StructToStringMap

func StructToStringMap(item interface{}) map[string]string

func SwapStringSlice added in v0.1.6

func SwapStringSlice(ds *[]string) error

swap slice

func Unique

func Unique(strSlice []string) []string

func UpgradeVersion added in v0.0.18

func UpgradeVersion(version string, place int) (string, error)
upgrade version

place start from 1

can be used in version like 1.0.1 or v1.0

Types

This section is empty.

Jump to

Keyboard shortcuts

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