command
module
Version:
v0.0.26
Opens a new window with list of versions in this module.
Published: Jan 12, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
simple-todo
A Simple REST Server app, using golang and sqlite, build for testing client app, the SQLITE file already contain some example data
REST API
-
GET ALL
GET todos
-
GET BY ID, example id is 12
GET todos/12
-
INSERT, it will return the json for new todo
POST todos
-
UPDATE BY ID, example id is 12 and it will return the json for new todo
PUT todos/12
-
DELETE BY ID, example id is 12
DELETE todos/12
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.