Categorygithub.com/ronzxy/go-helper
modulepackage
0.0.0-20200527054011-b8ba4b7d78cb
Repository: https://github.com/ronzxy/go-helper.git
Documentation: pkg.go.dev

# README

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

# Packages

* This file copy from https://github.com/qyxing/ostar/blob/master/codec/rsa_ext.go * It's license same with upstream.
No description provided by the author

# Functions

NewBufferPool creates a new BufferPool bounded to the given size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BufferPool implements a pool of bytes.Buffers in the form of a bounded channel.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author