utils

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key string, securemess string) (decodedmess []byte, err error)

func Encrypt

func Encrypt(key string, plainText []byte) (encmess string, err error)

func Print

func Print(v ...interface{})

func Print2

func Print2(v ...interface{})

func Print3

func Print3(v ...interface{})

func Print4

func Print4(v ...interface{})

func Printf

func Printf(format string, v ...interface{})

func Println

func Println(v ...interface{})

func RandInt

func RandInt() int

func RandString

func RandString(n int) string

func RandomString

func RandomString(min int, max int) string

func ReadPassword

func ReadPassword(prompt string) (string, error)

func Sha256String

func Sha256String(data []byte) string

func StackTrace

func StackTrace(skip int, depth int) string

func TraceDetail

func TraceDetail(o interface{})

func TracePrint

func TracePrint(skip int, cnt int, v ...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