I am trying the following code
d := []byte(\"\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x80J\\x13\\x80SQ\\x80L\\xe0\\x80@\\x92\\x80L?\\x80H\\xe0\")
Look at the different kinds of string literals in the Go documentation.
You probably want to use the back-ticks (`) for a "raw_string_lit" in your first string.