hadata

package
v0.1.3 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 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 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