make hdr in go