REST APIs with Go and MySql
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.html
server.go

README.md

#REST API in Golang with mySql Database

Install go lang

Installation

    git clone https://github.com/motyar/restgomysql
    cd restgomysql
    go run server.go

And open http://IP_or_localhost:1234/api

Nothing but (cute) Pandas

GET /api/ to get all the pandas.

POST /api/ to add new panda {name}

DELETE /api/panda_id to remove that one panda.

PUT /api/ to update details {id and name}