Regexp won't match

后端 未结 2 1879
你的背包
你的背包 2021-01-29 16:35

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\")         


        
2条回答
  •  忘掉有多难
    2021-01-29 17:16

    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.

提交回复
热议问题