Closed Strke closed 4 days ago
my .bashrc
like this
export GOROOT=/usr/local/go
export GOPATH=/home/gpo/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export PATH=$PATH:$(go env GOPATH)/bin
alias air=`$(go env GOPATH)/bin/air`
could u run air -v
?
Thanks for your reply, I solved it.
In the .bashrc
alias air=$(go env GOPATH)/bin/air
When I use this command
air init
on linux, and I get errorinit: required argument missing.
and
air -c .air.toml
get error-c:command not found
Hope to find a solution, thank you!