API to Export Logs in Excel format for Audit Log

Is there any SDK in golang that I can use to export the logs in excel format? Any help will be appreciated?