utils

package
v0.0.0-...-ae2aaf1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultCrypt = &Crypt{
	key: []byte("x^)dixf&*1$free]"),
}

Functions

func DecodeBase64

func DecodeBase64(str string) (res string)

func GitCommit

func GitCommit(message string)

func PathIsExist

func PathIsExist(path string) (bool, error)

Types

type Crypt

type Crypt struct {
	// contains filtered or unexported fields
}

func (*Crypt) AesDecrypt

func (that *Crypt) AesDecrypt(crypted []byte) ([]byte, error)

func (*Crypt) AesEncrypt

func (that *Crypt) AesEncrypt(origData []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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