fortytw2 / go

Common Go code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go

Build Status GoDoc

Common Go code.

Installation

go get -u github.com/shurcooL/go/...

Directories

Path Synopsis
analysis Package analysis provides a routine that determines if a file is generated or handcrafted.
ctxhttp Package ctxhttp provides helper functions for performing context-aware HTTP requests.
gddo Package gddo is a simple client library for accessing the godoc.org API.
gfmutil Package gfmutil offers functionality to render GitHub Flavored Markdown to io.Writer.
gopathutil Package gopathutil provides tools to operate on GOPATH workspace.
gopherjs_http Package gopherjs_http provides helpers for compiling Go using GopherJS and serving it over HTTP.
gopherjs_http/jsutil Package jsutil provides utility functions for interacting with native JavaScript APIs.
httpstoppable Package httpstoppable provides ListenAndServe like http.ListenAndServe, but with ability to stop it.
importgraphutil Package importgraphutil augments "golang.org/x/tools/refactor/importgraph" with a way to build graphs ignoring tests.
indentwriter Package indentwriter implements an io.Writer wrapper that indents every non-empty line with specified number of tabs.
ioutil Package ioutil provides a WriteFile func with an io.Reader as input.
open Package open offers ability to open files or URLs as if user double-clicked it in their OS.
openutil Package openutil displays Markdown or HTML in a new browser tab.
ospath Package ospath provides utilities to get OS-specific directories.
osutil Package osutil offers a utility for manipulating a set of environment variables.
parserutil Package parserutil offers convenience functions for parsing Go code to AST.
pipeutil Package pipeutil provides additional functionality for gopkg.in/pipe.v2 package.
printerutil Package printerutil provides formatted printing of AST nodes.
reflectfind Package reflectfind offers funcs to perform deep-search via reflect to find instances that satisfy given query.
reflectsource Package sourcereflect implements run-time source reflection, allowing a program to look up string representation of objects from the underlying .go source files.
timeutil Package timeutil provides a func for getting start of week of given time.
trash Package trash implements functionality to move files into trash.
trim Package trim contains helpers for trimming strings.
vfs/godocfs/godocfs Package godocfs implements vfs.FileSystem using a http.FileSystem.
vfs/godocfs/html/vfstemplate Package vfstemplate offers html/template helpers that use vfs.FileSystem.
vfs/godocfs/path/vfspath Package vfspath implements utility routines for manipulating virtual file system paths.
vfs/godocfs/vfsutil Package vfsutil implements some I/O utility functions for vfs.FileSystem.

License

About

Common Go code.


Languages

Language:Go 100.0%