initial commit (copy of official /go package)