Sample Go app
-
Clone this repo using
git clone https://github.com/tokopedia/gosample.git <your-project-name>
. -
cd to and delete the existing git repository by running
rm -rf .git
. -
Initialize a new git repository with
git init
,git add .
andgit commit -m "Initial commit"
. -
Run
go get
to install the dependencies. -
Run
go build
and then ./ to start the local web server. -
Go to
http://localhost:9000
and you should see the app running!