A Go port of phk's ministat.