The code is a modified version of the gopher.go example included in the pt upstream repository. Thus, it retains the MIT license originally associated with that code.
gopher.go