DEV Community

Discussion on: How to Turn an Android Device into a Web Server

Collapse
 
doshirae profile image
Doshirae

Couldn't you just replace
$ export GOPATH=/data/data/com.termux/files/home/go
with
$ export GOPATH=$PWD
?

Collapse
 
rhymsy profile image
rhymsy

You only could if you had cd in go, which he hadn't in here. Also, it's easier to add the long path assuming some may not realize what pwd they're in or not be well verse in Linux :)