karenirenecano / go-mysql-export-to-excel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export to CSV using Go with Excelize and Mysql

Go mysql export to csv.

This is a code that exhibits use of:

  1. Local packages
  2. Mysql database connection and query
  3. Structs and slices to generate your own reporting
  4. Export to csv a todoapp

Dependencies

  1. github.com/360EntSecGroup-Skylar/excelize v1.4.1
  2. github.com/go-sql-driver/mysql v1.5.0

Developer Setup

Run the sql script from the todoapp.sql to your own mysql db.

go get to install dependencies

go run to run

go build to get an executable file

Developers

  1. Karen Matala

About


Languages

Language:Go 97.3%Language:Shell 2.7%