Golang Base Code
Getting Started
-
Clone repository.
git clone [email protected]:mo-taufiq/golang-base-code.git
-
If you already have
Visual Studio Code
installed, open your terminal, and run this command to your terminal.code -n golang-base-code
-
Inside
Visual Studio Code
, replace all the wordstaufiq.code/golang-base-code
to/golang-base-code -
copy file
example.env
and rename it to.env
then adjust the environment value according to your environment. -
Open new terminal inside
Visual Studio Code
, then run this command in the terminal.go mod init
go mod tidy
go run .