golang pass interface pointer to function