utils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Atoi

func Atoi(s string) uint64

func Atois

func Atois(s []string) []uint64

func HashMap

func HashMap(amap map[string]string) string

func HashStruct

func HashStruct(item interface{}) string

func IntIn

func IntIn(n int) []byte

func IntOut

func IntOut(bye []byte) int

func Itoa

func Itoa(a interface{}) string

func MsgPack

func MsgPack(data interface{}) ([]byte, error)

func MsgUnpack

func MsgUnpack(raw []byte, data interface{}) error

func RemoveSpecialChars added in v1.1.7

func RemoveSpecialChars(in string) string

func StringIn

func StringIn(strings string) []byte

func StringOut

func StringOut(bye []byte) string

func UintIn

func UintIn(n uint) []byte

func UintOut

func UintOut(bye []byte) uint

func UniqueArray

func UniqueArray(m []interface{}) []interface{}

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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