Categorygithub.com/shurcooL/go
module
0.0.0-20230706063926-5fe729b41b3a
Repository: https://github.com/shurcool/go.git
Documentation: pkg.go.dev

# README

go

Go Reference

Common Go code.

Installation

go get github.com/shurcooL/go

Directories

PathSynopsis
browserPackage browser provides utilities for interacting with users' browsers.
gddoPackage gddo is a simple client library for accessing the godoc.org API.
generatedPackage generated provides a function that parses a Go file and reports whether it contains a "// Code generated … DO NOT EDIT." line comment.
gfmutilPackage gfmutil offers functionality to render GitHub Flavored Markdown to io.Writer.
gopherjs_httpPackage gopherjs_http provides helpers for compiling Go using GopherJS and serving it over HTTP.
gopherjs_http/jsutilPackage jsutil provides utility functions for interacting with native JavaScript APIs via github.com/gopherjs/gopherjs/js API.
gopherjs_http/jsutil/v2Package jsutil provides utility functions for interacting with native JavaScript APIs via syscall/js API.
importgraphutilPackage importgraphutil augments "golang.org/x/tools/refactor/importgraph" with a way to build graphs ignoring tests.
indentwriterPackage indentwriter implements an io.Writer wrapper that indents every non-empty line with specified number of tabs.
openPackage open offers ability to open files or URLs as if user double-clicked it in their OS.
openutilPackage openutil displays Markdown or HTML in a new browser tab.
ospathPackage ospath provides utilities to get OS-specific directories.
osutilPackage osutil offers a utility for manipulating a set of environment variables.
parserutilPackage parserutil offers convenience functions for parsing Go code to AST.
pipeutilPackage pipeutil provides additional functionality for gopkg.in/pipe.v2 package.
printerutilPackage printerutil provides formatted printing of AST nodes.
reflectfindPackage reflectfind offers funcs to perform deep-search via reflect to find instances that satisfy given query.
reflectsourcePackage sourcereflect implements run-time source reflection, allowing a program to look up string representation of objects from the underlying .go source files.
timeutilPackage timeutil provides a func for getting start of week of given time.
trashPackage trash implements functionality to move files into trash.
vfs/godocfs/godocfsPackage godocfs implements vfs.FileSystem using a http.FileSystem.
vfs/godocfs/html/vfstemplatePackage vfstemplate offers html/template helpers that use vfs.FileSystem.
vfs/godocfs/path/vfspathPackage vfspath implements utility routines for manipulating virtual file system paths.
vfs/godocfs/vfsutilPackage vfsutil implements some I/O utility functions for vfs.FileSystem.

License

# Packages

Package browser provides utilities for interacting with users' browsers.
Package gddo is a simple client library for accessing the godoc.org API.
Package generated provides a function that parses a Go file and reports whether it contains a "// Code generated … DO NOT EDIT." line comment.
Package gfmutil offers functionality to render GitHub Flavored Markdown to io.Writer.
Package gopherjs_http provides helpers for compiling Go using GopherJS and serving it over HTTP.
Package importgraphutil augments "golang.org/x/tools/refactor/importgraph" with a way to build graphs ignoring tests.
Package indentwriter implements an io.Writer wrapper that indents every non-empty line with specified number of tabs.
Package open offers ability to open files or URLs as if user double-clicked it in their OS.
Package openutil displays Markdown or HTML in a new browser tab.
Package ospath provides utilities to get OS-specific directories.
Package osutil offers a utility for manipulating a set of environment variables.
Package parserutil offers convenience functions for parsing Go code to AST.
Package pipeutil provides additional functionality for gopkg.in/pipe.v2 package.
Package printerutil provides formatted printing of AST nodes.
Package reflectfind offers funcs to perform deep-search via reflect to find instances that satisfy given query.
Package sourcereflect implements run-time source reflection, allowing a program to look up string representation of objects from the underlying .go source files.
Package timeutil provides a func for getting start of week of given time.
Package trash implements functionality to move files into trash.
No description provided by the author