Example webapp using sqlc
$ echo 'DATABASE_URL="mysql://user:password@127.0.0.1:3306/dbname"' > .env
$ dbmate up
$ sqlc generate
$ DSN="user:password@tcp(localhost:3306)/dbname" go build
sqlc-example is published under the MIT License, see LICENSE.