command
module
Version:
v0.0.0-...-4983837
Opens a new window with list of versions in this module.
Published: Jan 12, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-json-placeholder
A simple clone of JSON Placeholder, written in go with chi.
Usage
Resources
|
|
|
/users |
✓ |
3 users |
/posts |
✓ |
8 posts |
/comments |
✓ |
12 comments |
/albums |
✗ |
|
/photos |
✗ |
|
/todos |
✗ |
|
Routes
-
/users
|
|
GET |
/users |
GET |
/users/1 |
GET |
/users/1/posts |
POST |
/users |
PUT |
/users/1 |
PATCH |
/users/1 |
DELETE |
/users/1 |
-
/posts
|
|
GET |
/posts |
GET |
/posts/1 |
GET |
/posts/1/comments |
POST |
/posts |
PUT |
/posts/1 |
PATCH |
/posts/1 |
DELETE |
/posts/1 |
-
/comments
|
|
GET |
/comments |
GET |
/comments/1 |
GET |
/comments/?postId=1 |
POST |
/comments |
PUT |
/comments/1 |
PATCH |
/comments/1 |
DELETE |
/comments/1 |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.