Golang Array Of Functions Python Code