Check elements existence in two arrays
Check whether elements in one array exist in another array
func check(chaArr []byte, targetArr []byte) bool {flag := falsefor _, ele := range chaArr {for i := 0; i < len(targetArr); i++ {if ele == targetArr[i] {flag = truebreak} else {flag = false}}}return flag}