Go to file
2019-10-13 12:12:35 +08:00
algo Rename package 2019-10-13 11:00:38 +08:00
orm Rename package 2019-10-13 11:00:38 +08:00
.gitignore Initial commit 2018-11-26 11:16:28 +08:00
buffer.go Add BufferPool 2018-12-24 22:08:54 +08:00
byte.go Rename to helper 2018-12-20 15:40:31 +08:00
console_color.go Add an instance and convert time location 2019-10-13 11:07:32 +08:00
exec.go Add exec helper 2019-10-13 11:10:03 +08:00
file.go Add an instance and convert time location 2019-10-13 11:07:32 +08:00
http.go Persistent http client instance 2019-10-13 12:12:35 +08:00
LICENSE Initial commit 2018-11-26 11:16:28 +08:00
path.go Add an instance and convert time location 2019-10-13 11:07:32 +08:00
rand.go Add an instance and convert time location 2019-10-13 11:07:32 +08:00
README.md Add some instructions 2018-12-20 16:37:28 +08:00
string.go Add an instance and convert time location 2019-10-13 11:07:32 +08:00
struct_map.go Add struct_map example 2019-01-22 16:57:41 +08:00
time.go Add an instance and convert time location 2019-10-13 11:07:32 +08:00

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.

cryptox package

A golang crypto package extended, including encryption and padding.

encryption

  • AES
  • DES
  • TripleDES
  • HMac
  • SHA

Padding

  • ZeroPadding
  • PKCS5Padding

dbx package

Database xorm struct, including:

  • PostgreSQL
  • MySQL
  • Redis
  • SQLite