Create a gist now

Instantly share code, notes, and snippets.

@tylertreat /wtf.go
Last active Aug 29, 2015

What would you like to do?
func isInt64InSlice(i int64, slice []int64) bool {
for _, j := range slice {
if j == i {
return true
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment