command
module
Version:
v0.0.0-...-da32628
Opens a new window with list of versions in this module.
Published: Apr 29, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
DESCRIPTION
This is a simple project designed to study and improve skills in the GoLang language.
This project is a simple Contact Rest API
End Points
| Method |
Endpoint |
Description |
| GET |
/contacts |
Gets all contacts |
| GET |
/contacts/{id} |
Get contact search by id |
| POST |
/contacts |
Create an contact from request body |
| DELETE |
/contacts/{id} |
Delete an contact by id |
Request Exemple
{
"name": "Thomas",
"email": "thomas@teste.com",
"phone_number": "98888-8888"
}
INSTALLATION
Clone this project.
$ git clone git@github.com:Thomas-Matheus/contacts.git
Install dependencies
$ go install
Compile project
$ go build
Goals
- Go report A+
- Code coverage 100%
- Makefile
- Docker
GoLang Installation
GoLang Doc
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.