Documentation
¶
Overview ¶
package goutils
Copyright (c) 2020 Michael Treanor MIT License
Utilities for development and production with Go. Expect frequent updates and some breaking changes.
The main focus of these utilities is currently Intel-based macOS, but most utilities will work with other platforms.
Directories
¶
| Path | Synopsis |
|---|---|
|
_examples
|
|
|
empty_path
command
|
|
|
func_properties/returncheck
command
|
|
|
goignore
command
|
|
|
just_trying_stuff
command
|
|
|
typeswitch
command
|
|
|
ansi
module
|
|
|
fft/example
command
|
|
|
format
Package format contains functions that format numeric values.
|
Package format contains functions that format numeric values. |
|
gogob/_example
command
|
|
|
math/diophantine
package diophantine is a fun diversion into the world of theoretical mathematics.
|
package diophantine is a fun diversion into the world of theoretical mathematics. |
|
math/floatingints
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
|
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
|
math/git_report
command
|
|
|
math/points
Package points provides simple utilities for dealing with points in a data series.
|
Package points provides simple utilities for dealing with points in a data series. |
|
mysql/_example/mysql_check
command
|
|
|
quantum
Package quantum is a playground for exploring Robert Smith's quantum vectors.
|
Package quantum is a playground for exploring Robert Smith's quantum vectors. |
|
quantum/cmd/quantum
command
|
|
|
runebuilder
Package runebuilder implements a heavily copied version of strings.Builder from the Go standard library that has been refactored to support runes.
|
Package runebuilder implements a heavily copied version of strings.Builder from the Go standard library that has been refactored to support runes. |
|
types
Package types provides utilities for dealing with types.
|
Package types provides utilities for dealing with types. |
|
types/justforfunc18
Package justforfunc18 is an environment for playing with the ideas from: justforfunc #18: understanding Go's type aliases by Francesc Campoy Reference: https://www.youtube.com/watch?v=Vg603e9C-Vg
|
Package justforfunc18 is an environment for playing with the ideas from: justforfunc #18: understanding Go's type aliases by Francesc Campoy Reference: https://www.youtube.com/watch?v=Vg603e9C-Vg |
|
upspin
Package upspin is an online, encrypted, sharable, personal information service.
|
Package upspin is an online, encrypted, sharable, personal information service. |
|
devtools
|
|
|
cli
command
|
|
|
gogit
Package gogit implements git cli commands in a more convenient way.
|
Package gogit implements git cli commands in a more convenient way. |
|
gogithub/_example/cmd/gogithub
command
The basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication.
|
The basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication. |
|
gogithub/_example/escape-seq
command
|
|
|
gogithub/_example/logrus
command
|
|
|
gogithub/_example/title
command
|
|
|
gorepo/godirs
Package godirs sets up the directory structure for a new go module.
|
Package godirs sets up the directory structure for a new go module. |
|
gorepo/godirs/cmd/godirs
command
|
|
|
gorepo/semver
Package semver implements comparison of semantic version strings.
|
Package semver implements comparison of semantic version strings. |
|
gorepo/stuff
command
|
|
|
Package gofile provides access to the file system.
|
Package gofile provides access to the file system. |
|
chromedriver
Package chromedriver implements Chromedriver
|
Package chromedriver implements Chromedriver |
|
cmd/dir
command
|
|
|
cmd/thumb
command
|
|
|
json
Package json implements json serialization and deserialization.
|
Package json implements json serialization and deserialization. |
|
redlogger
Package redlogger implements a concurrent logging system.
|
Package redlogger implements a concurrent logging system. |
|
webdriver
Package webdriver implements the w3c WebDriver wire protocol.
|
Package webdriver implements the w3c WebDriver wire protocol. |
|
Package strings implements additional functions to support the go library: .../go/1.15.3/libexec/src/strings/strings.go For information about UTF-8 strings in Go, see https://blog.golang.org/strings.
|
Package strings implements additional functions to support the go library: .../go/1.15.3/libexec/src/strings/strings.go For information about UTF-8 strings in Go, see https://blog.golang.org/strings. |
|
_examples/defer
command
This an example of the defer statement in action.
|
This an example of the defer statement in action. |
|
ansi
Package ansi provides fast ansi escape sequence processing based on strings.Builder.
|
Package ansi provides fast ansi escape sequence processing based on strings.Builder. |
|
ansi/cmd/ansi
command
|
|
|
ascii
Package ascii provides support for ASCII strings.
|
Package ascii provides support for ASCII strings. |
|
cli
Package cli contains command line utility functions.
|
Package cli contains command line utility functions. |
|
webtools
|
|
|
dnsperftest
command
|
|
|
getpage
Package getpage gets webpage information.
|
Package getpage gets webpage information. |
|
getpage/samples
command
|
|
|
googlesearch
command
|
|
|
goserver
command
|
|
|
http
Package http contains utilities for http requests.
|
Package http contains utilities for http requests. |
|
stack
Package stack generates a very basic web stack with Go and Javascript.
|
Package stack generates a very basic web stack with Go and Javascript. |
|
stack/cmd/stack
command
|
|
|
youtube/gotube
command
|
|
|
Package zsh contains command line utilities designed for use with zsh on macOS.
|
Package zsh contains command line utilities designed for use with zsh on macOS. |
|
cmd/binit
command
|
|
|
cmd/codelines
command
|
|
|
cmd/devmode
command
|
|
|
cmd/fi
command
|
|
|
cmd/gobot
command
|
|
|
cmd/gofind
command
|
|
|
cmd/gosh
command
|
|
|
cmd/headers
Package headers creates headers for files in a repository.
|
Package headers creates headers for files in a repository. |
|
cmd/ls
command
|
|
|
cmd/refresh
command
|
|
|
cmd/runit
command
|
|
|
cmd/sort2ext
command
sort2ext takes a directory of files and sorts all of them into new folders according to the file extension.
|
sort2ext takes a directory of files and sorts all of them into new folders according to the file extension. |
|
cmd/tr
command
|
|
|
cmd/tree
command
|
|
|
cmd/ttyinfo
command
|
|
|
cmd/walk
command
This example demonstrates how to use go to walk a directory and filter the contents by using filepath.Walk with variables in the external scope to provide the filter and to capture the file names.
|
This example demonstrates how to use go to walk a directory and filter the contents by using filepath.Walk with variables in the external scope to provide the filter and to capture the file names. |
|
cmd/watch
Package watch implements live reloading and timed reloading of command line programs.
|
Package watch implements live reloading and timed reloading of command line programs. |
|
com
command
|
|
|
file
Package file contains file utilities for basic scripting and shell operations
|
Package file contains file utilities for basic scripting and shell operations |
|
fileset
Package fileset contains a custom slice type for manipulating files and directories.
|
Package fileset contains a custom slice type for manipulating files and directories. |
|
userinfo
Package userinfo implements the User interface to manage and store user demographic information.
|
Package userinfo implements the User interface to manage and store user demographic information. |
Click to show internal directories.
Click to hide internal directories.