This repository is for learning the Go programming language.
Let's start with implementing a web server with connection to a MySQL database including login functionality.
- Install go -> https://go.dev/doc/install
- create .env File in project root directory
- Start MySQL Database
- insert MySQL Credentials into .env
DB_USERNAME=username
DB_PASSWORD=password
DB_HOST=localhost
DB_PORT=3306
DB_NAME=gologin
DB_OPTIONS="?charset=utf8mb4&parseTime=True&loc=Local"
// go into project root directory
$ go install
$ go run .