command
module
Version:
v0.0.0-...-db393c7
Opens a new window with list of versions in this module.
Published: Mar 24, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go API

CRUD operations with GORM
- Create (POST)
- Read (GET)
- Update (PUT)
- Delete (DELETE)
API calls:
- /

- /users -> GET (All Users)
- /user/{name}" -> "DELETE
- /user/{name}/{lastname}/{city}/{email} -> PUT
- /user/{name}/{lastname}/{city}/{email} -> POST
Run the app
go run *.go
Examples

- creating john johnson, from newyork, john@email.com:

- creating annya solov, from moscow, annya@mail.com:


-
Update
- annya moved to barcelona, lets update that info:

- current data:

-
Delete
- john moved to mars, lets delete him:


References:
License:
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.