You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ron Zhang 8057cf2c50 Migrate to gitera.cn 2 years ago
.gitignore Initial commit 4 years ago
LICENSE Initial commit 4 years ago
README.md Migrate to gitera.cn 2 years ago
buffer.go Fix XORM import URL 2 years ago
byte.go Fix XORM import URL 2 years ago
console_color.go Fix XORM import URL 2 years ago
exec.go Fix XORM import URL 2 years ago
file.go Fix XORM import URL 2 years ago
go.mod Migrate to gitera.cn 2 years ago
http.go Fix XORM import URL 2 years ago
path.go Fix XORM import URL 2 years ago
rand.go Fix XORM import URL 2 years ago
string.go Fix XORM import URL 2 years ago
struct_map.go Fix XORM import URL 2 years ago
time.go Fix XORM import URL 2 years ago

README.md

go-helper

Go Report Card GoDoc Github All Releases GitHub release GitHub Release Date GitHub license GitHub stars GitHub forks Sourcegraph

A help package for golang, provide some utilities, encryption and database orm struct.

helper package

ByteHelper

ByteHelper provides Hex and Byte format conversion.

ConsoleColorHelper

ConsoleColorHelper provides console color support.

FileHelper

FileHelper provides file copy and gzip compression support.

HttpHelper

HttpHelper provides http GET, POST and PostForm support.

PathHelper

RandHelper

RandHelper provides rand specified number of numbers or strings.

StringHelper

TimeHelper

TimeHelper provides full format of time format support.

algo package

A golang crypto package extended, including encryption and padding.

encryption:

  • AES
  • DES
  • TripleDES
  • HMac
  • SHA

Padding:

  • ZeroPadding
  • PKCS5Padding

orm package

Database xorm struct, including:

  • PostgreSQL
  • MySQL
  • Redis
  • SQLite