Skip to content

yash9263/rest-gin-sqllite-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST server in go using gin and sqllite

it uses sqlite db to store the tasks.

run server

go run main.go

routes

POST "/task/" 
post request body
{
    "text": "hello, world",
    "tags": ["urgent"],
    "due": "2024-07-25T17:58:51.658Z"
}
GET "/task/:id"
/task/1
GET "/task/"
DELETE "/task/"
DELETE "/task/:id"
/task/1
GET "/tag/:tag"
/task/urgent
GET "/due/:year/:month/:day"
/task/2024/7/25

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages