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 getto install the dependencies. -
Run
go buildand then ./ to start the local web server. -
Go to
http://localhost:9000and you should see the app running!