sqlc-example

command module
v0.0.0-...-075b4fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2022 License: MIT Imports: 9 Imported by: 0

README

sqlc-example

Example webapp using sqlc

Build

$ 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

License

sqlc-example is published under the MIT License, see LICENSE.

Author

Noriaki Watanabe@nnabeyang

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL