A pet project for learning Go based off Let's Go - Alex Edwards book.
TBD
For now, the DSN is hardcoded to be web:web@/snippetbox?parseTime=true, a MySQL with user web and password web is expected.
To spin up the http server, run go run ./cmd/web from the root directory.
Open http://localhost:4000 in a browser to get started with Snippetbox.
Locate GO standard library location
/usr/local/go/src/crypto/tls (non Homebrew)
Run generate_cert.go inside the /tls folder
go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost