mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
go
Common Go code.
Installation
go get -u github.com/shurcooL/go/...
Directories
Path | Synopsis |
---|---|
browser | Package browser provides utilities for interacting with users' browsers. |
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. |
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. |
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. |