github.com/akutz/memconn) is an in-memory network stack for Go that provides:
- Support for named connections
- Support for
net.Conn‘s deadline semantics (supported natively in Go 1.10+)
- Better performance than a TCP or UNIX domain socket
- An ideal solution for writing tests for HTTP and gRPC applications
Please keep reading to discover what MemConn is, how to use it, and why.
The Golang function
signal.Notify enables a program to respond to process signals such as
SIGKILL, etc. with registered event handlers. However, a Golang developer should take care to avoid trapping
SIGABRT, and this blog explains why.
When my manager asked me to badge the Docker Volume Driver Isolator Module for Mesos (DVDI) project with a Travis-CI build status I thought “Sure, no problem.”
Hoo boy, little did I know…
The go language specification states:
In any comparison, the first operand must be assignable to the type of the second operand, or vice versa.
I’ve been doing heavy refactoring over the last 48 hours to cope with epic VMware fail. One part of that has been the necessity to do something pretty tricky, and as it turns out, Apache Commons has a massive shortcut I thought I’d share with the rest of you.
I did not find any good documentation on how to update a git submodule reference to the HEAD of a branch so I created some projects on github.com to illustrate how to do this in a straightforward manner. See https://github.com/akutz/SubHead to learn more.