added instructions to setup gow and modules

This commit is contained in:
Artin Rebekale 2024-08-30 03:13:59 +00:00
parent 446071eee7
commit 26af7e553e

View File

@ -1,12 +1,22 @@
### goulette
## configuration
make sure go is in your path, system and local.
put into .bashrc:
```
export PATH=$PATH:/usr/local/go/bin:~/go
```
## install
# tools
install github.com/mitranim/gow@latest
# modules
go get github.com/redis/go-redis/v9
go mod downlaod
# build
# run with gow - watches the program
got run main.go
gow run api.go