Pass Function As Parameter Golang Interview