go and function pointer array