util

module
v0.0.0-...-46e600a Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: MIT

README

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}.

Directories

Path Synopsis
Package address provide some practical functions may used.
Package address provide some practical functions may used.
Package bat build and run bat commands.
Package bat build and run bat commands.
Package config used to load config from json file.
Package config used to load config from json file.
Package console provide functions like javascript `console` object.
Package console provide functions like javascript `console` object.
Package cout means 'color output', for it decorated words with color.
Package cout means 'color output', for it decorated words with color.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Package requests is a simple http client, witch provide practical 'text()', 'json()' utils like python side-package.
Package requests is a simple http client, witch provide practical 'text()', 'json()' utils like python side-package.
Package terrain has some useful functions for terrain generate.
Package terrain has some useful functions for terrain generate.
improved-noise
Package noise is an implement for https://mrl.nyu.edu/~perlin/noise/
Package noise is an implement for https://mrl.nyu.edu/~perlin/noise/
Package zip make a packing base on raw zip package.
Package zip make a packing base on raw zip package.

Jump to

Keyboard shortcuts

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