git repository godev reference
The exp
repository is a monorepo with several Go packages that all started out as experiments, but in some cases turned out to be useful to use in other projects.
Submodules
htdvisser.dev/exp/b32
)
A command-line tool to encode and decode base32 data, typically combined with my b64 and hex tools.
htdvisser.dev/exp/b64
)
A command-line tool to encode and decode base64 data, typically combined with my b32 and hex tools.
htdvisser.dev/exp/backbone
)
htdvisser.dev/exp/clicontext
)
Helps cancel the context.Context of your command-line interface. Since Go 1.16 the same functionality is provided by NotifyContext in os/signal.
htdvisser.dev/exp/connect-lambda
)
Experiment using connect.build on AWS Lambda
htdvisser.dev/exp/echo
)
An experiment to build an echo server with gRPC, HTTP, TCP and UDP.
htdvisser.dev/exp/fieldpath
)
Utilities for working with field paths as used in protobuf field masks.
htdvisser.dev/exp/flagenv
)
Read environment variables into standard library flags.
htdvisser.dev/exp/hex
)
A command-line tool to encode and decode hex data, typically combined with my b32 and b64 tools.
htdvisser.dev/exp/inspectcert
)
A tool to inspect the TLS certificate chain for a server.
htdvisser.dev/exp/maskgen
)
Generate code that helps masking the fields of structs
htdvisser.dev/exp/pflagenv
)
Read environment variables into github.com/spf13/pflag flags.
htdvisser.dev/exp/protoc-gen-hugodata
)
Generate YAML files from protocol buffers so that Hugo can generate API documentation.
htdvisser.dev/exp/stringslice
)
Common utilities for working with string slices (mapping, filtering).
htdvisser.dev/exp/tls
)
Config and flags for building TLS configurations for servers and clients
htdvisser.dev/exp/tlsconfig
)
Config and flags for building TLS configurations for servers and clients
htdvisser.dev/exp/waitcontext
)
In case you want a context.CancelFunc that waits for goroutines to finish.