Skip to content

skhaz/go-restful-api

Repository files navigation

This project uses the repository pattern with gorm, it uses gin for handling the HTTP requests and has unit tests

Running

make compose

Creating a workspace

http localhost:8000/workspaces name=foobar

List workspaces

http localhost:8000/workspaces

Update a workspace

http PATCH localhost:8000/workspaces/82877b28-93d5-4b37-83cb-2bf8e090caf5 name=newname

Get a workspace

http localhost:8000/workspaces/82877b28-93d5-4b37-83cb-2bf8e090caf5

Delete a workspace

http DELETE localhost:8000/workspaces/82877b28-93d5-4b37-83cb-2bf8e090caf5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages