Fix gin API usage