utils

package
v1.10.6 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Utils

type Utils struct {
	MsgC chan string
	ErrC chan string
	// contains filtered or unexported fields
}

func NewUtils

func NewUtils() *Utils

func (*Utils) Base64Decode

func (t *Utils) Base64Decode(str string)

func (*Utils) Base64Encode

func (t *Utils) Base64Encode(str string)

func (*Utils) DecimalConv added in v1.4.6

func (t *Utils) DecimalConv(str string, from, to int)

func (*Utils) DecimalStrConv added in v1.5.0

func (t *Utils) DecimalStrConv(str string, from int)

func (*Utils) Hex2String added in v1.4.6

func (t *Utils) Hex2String(str string)

func (*Utils) JsonFormat

func (t *Utils) JsonFormat(str string)

func (*Utils) StrDecimalConv added in v1.5.0

func (t *Utils) StrDecimalConv(str string, to int)

func (*Utils) String2Hex added in v1.4.6

func (t *Utils) String2Hex(str string)

func (*Utils) TimeConvert

func (t *Utils) TimeConvert(date string)

func (*Utils) TimestampConvert

func (t *Utils) TimestampConvert(Timestamp string)

Jump to

Keyboard shortcuts

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