AbdulRehman-z / golang-net-http-api

minimalist api written in std net/http module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to work with this repository

===============================

1. Clone the repository

git clone

2. Run the following command

go run main.go

3. Open the browser and go to the following URL's

http://localhost:8000
http://localhost:8000/message
http://localhost:8000/username

===============================

if u make some changes to file, these changes will not be reflected in the browser, so u need to restart the server, to do that, press ctrl+c in the terminal, and run the command again

go run main.go

About

minimalist api written in std net/http module


Languages

Language:Go 100.0%