Go golang solution
Runtime: 332 ms, faster than 71.93% of Go online submissions for Binary Prefix Divisible By 5.\nMemory Usage: 8.2 MB, less than 40.00% of Go online submissions 
>Runtime: 332 ms, faster than 71.93% of Go online submissions for Binary Prefix Divisible By 5.\nMemory Usage: 8.2 MB, less than 40.00% of Go online submissions for Binary Prefix Divisible By 5.\n\n```go\nfunc prefixesDivBy5(A []int) []bool {\n\n\tans := []bool{}\n\tn := 0\n\n\tfor _, v := range A {\n\t\tn = (n<<1 + v) % 5\n\t\tif n == 0 {\n\t\t\tans = append(ans, true)\n\t\t} else {\n\t\t\tans = append(ans, false)\n\t\t}\n\t}\n\treturn ans\n}\n```
[]