utils

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 12 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 RemoveSpecialCharsTags added in v1.1.13

func RemoveSpecialCharsTags(tags []models.IllustTag) []models.IllustTag

func StringIn

func StringIn(strings string) []byte

func StringOut

func StringOut(bye []byte) string

func Uint64Out added in v1.3.1

func Uint64Out(bye []byte) uint64

func UintIn

func UintIn(n uint) []byte

func UintOut

func UintOut(bye []byte) uint

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