go mod tidy
or :
go mod download
or :
go run main.go
open a terminal and enter :
openssl rand -base64 24
then copy the generated string and put it in the .env
file :
JWT_SECRET=dZvG+ecNWSRb6WNAX6l/sC2gh2qzlLl3
go run main.go
go test ./tests/...
autobuild :
go build -o myapp main.go
build for linux :
GOOS=linux GOARCH=amd64 go build -o myapp-linux main.go