• Stars
    star
    127
  • Rank 282,740 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 11 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Common Go code.

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 via github.com/gopherjs/gopherjs/js API.
gopherjs_http/jsutil/v2 Package jsutil provides utility functions for interacting with native JavaScript APIs via syscall/js API.
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.
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

More Repositories

1

githubv4

Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql).
Go
1,118
star
2

vfsgen

Takes an input http.FileSystem (likely at go generate time) and generates Go code that statically implements it.
Go
982
star
3

Go-Package-Store

An app that displays updates for the Go packages in your GOPATH.
Go
899
star
4

markdownfmt

Like gofmt, but for Markdown.
Go
796
star
5

graphql

Package graphql provides a GraphQL client implementation.
Go
702
star
6

goexec

A command line tool to execute Go functions.
Go
374
star
7

gostatus

A command line tool that shows the status of Go repositories.
Go
244
star
8

github_flavored_markdown

GitHub Flavored Markdown renderer with fenced code block highlighting, clickable header anchor links.
Go
159
star
9

binstale

binstale tells you whether the binaries in your GOPATH/bin are stale or up to date.
Go
146
star
10

home

home is Dmitri Shuralyov's personal website.
Go
76
star
11

httpfs

Collection of Go packages for working with the http.FileSystem interface.
Go
62
star
12

Hover

A work-in-progress source port of Hover.
C++
59
star
13

eX0

Unfinished multiplayer tactical 2D shooter indie game.
C++
50
star
14

git-branches

git-branches prints the commit behind/ahead counts for branches.
Go
42
star
15

play

Short experimental programs for playing with and learning new things. No importable Go packages here.
JavaScript
38
star
16

gtdo

The source for gotools.org.
Go
36
star
17

tictactoe

Package tictactoe defines the game of tic-tac-toe.
Go
31
star
18

sanitized_anchor_name

Package sanitized_anchor_name provides a func to create sanitized anchor names.
Go
27
star
19

httpgzip

Package httpgzip provides net/http-like primitives that use gzip compression when serving HTTP requests.
Go
24
star
20

issuesapp

Package issuesapp is a web frontend for an issues service.
Go
23
star
21

godecl

A godecl experiment. Like cdecl, but for Go.
Go
20
star
22

cmd

Various small command-line utilities.
Go
18
star
23

frontend

Common frontend code.
HTML
13
star
24

notifications

Package notifications provides a notifications service definition.
Go
11
star
25

issues

Package issues provides an issues service definition.
Go
11
star
26

resume

resume is Dmitri Shuralyov's résumé.
Go
9
star
27

highlight_go

Syntax highlighter for Go, using go/scanner.
Go
8
star
28

octicon

Package octicon provides GitHub Octicons.
Go
8
star
29

webdavfs

Collection of Go packages for working with the webdav.FileSystem interface.
Go
8
star
30

notificationsapp

Package notificationsapp is a web frontend for a notifications service.
Go
8
star
31

events

Package events provides an events service definition.
Go
7
star
32

ivybrowser

A port of Rob Pike's ivy that runs in the browser.
Go
7
star
33

SLA

Service-level agreement for Go packages.
6
star
34

gofontwoff

Package gofontwoff provides the Go font family in Web Open Font Format.
CSS
5
star
35

vcsstate

Package vcsstate allows getting the state of version control system repositories.
Go
5
star
36

htmlg

Package for generating and rendering HTML nodes with context-aware escaping.
Go
5
star
37

reactions

Package reactions provides a reactions service definition.
HTML
3
star
38

highlight_diff

Syntax highlighter for diff format, with inner diff highlighting.
Go
2
star
39

users

Package users provides a users service definition.
Go
2
star
40

httperror

Package httperror provides common basic building blocks for custom HTTP frameworks.
Go
1
star