Common Go code.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
browser Created browser package, deprecate open package. Jul 17, 2017
gddo Use more idiomatic filenames for libraries. May 25, 2016
generated
gfmutil gfmutil: Use local GFM CSS. Jul 22, 2016
gopherjs_http
importgraphutil Make importgraph.BuildNoTests importable. Aug 19, 2015
indentwriter
ioutil
open Created browser package, deprecate open package. Jul 17, 2017
openutil
ospath
osutil
parserutil
pipeutil
printerutil Move gists/gist5639599 to printerutil. Mar 26, 2016
reflectfind Move gists/gist6445065 to reflectfind. Mar 26, 2016
reflectsource
timeutil timeutil: Add StartOfDay to get start of day. Dec 15, 2016
trash Use more idiomatic filenames for libraries. May 25, 2016
vfs/godocfs
.travis.yml Regenerate README.md and .travis.yml. Dec 24, 2016
README.md

README.md

go

Build Status GoDoc

Common Go code.

Installation

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

Directories

Path Synopsis
browser Package browser provides utilities for interacting with users' browsers.
gddo Package gddo is a simple client library for accessing the godoc.org API.
generated Package generated provides a function that parses a Go file and reports whether it contains a "// Code generated … DO NOT EDIT." line comment.
gfmutil Package gfmutil offers functionality to render GitHub Flavored Markdown to io.Writer.
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.
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.
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