2017-08-01ãã1ã¶æéã®è¨äºä¸è¦§
invalid case []byte literal in switch (can only compare slice foo to nil) switch response[:4] { case []byte{0,0,0,0}, []byte{1,0,0,0}, []byte{2,0,0,0}: fmt.Println("do something") } // ããåããªãã㤠å¯å¤é·ã§ããsliceã¯nilã¨ã®æ¯è¼ã ããâ¦