Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (17 loc) · 726 Bytes

ReadMe.md

File metadata and controls

29 lines (17 loc) · 726 Bytes

util

Golang utilities kit.

Those utils come from my actual production, they are all simple, shot but usefully. Each util was built in a separate module and follow with unit test (example), pursue of simple and convenience.


Install

go get github.com/zhengxiaoyao0716/util/<package you want>

// Note that the project path `util` is only a directory,
// you should choose a package in child path to import.

Document

See godoc


Example

See unit test in packages.


Change log

  • 2017/08/02: The interface of Event module has a bit change. the Key has change from struct{Type, Name} to [2]string{Type, Name}.