Record builder for golang