Skip to content

Latest commit

 

History

History
executable file
·
20 lines (17 loc) · 656 Bytes

README.md

File metadata and controls

executable file
·
20 lines (17 loc) · 656 Bytes

API-CARTESIAN

Perform calculation coordinates appling Manhattan distance method
Project developed in Golang

How to run

$ go run main.go -port=9000 -debug=true

flag -port Port HTTP to server 9000
flag -debug Debug mode

Build mock tests

To utilize the mocks framework available in gomock
Instruction to use mocks gomock-install

GOPATH=$(go env GOPATH) ~/go/bin/mockgen -source=$(pwd)/<path_interface> -destination=$(pwd)/<path_mocks>

Architecture used on the project - Hexagonal

Scheme