command
Version:
v0.0.0-...-d7ce89a
Opens a new window with list of versions in this module.
Published: Jul 27, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Microservice Calculator Golang
Instructions
-
To run the command below, you need install the golang
-
Enter in the root directory microservice_go/ and type in the terminal:
go run calculator.go
- You can open the browser and access localhost:8080
Available Endpoints
Sum
http://localhost:8080/calc/sum/{firstNumber}/{secondNumber}
Sub
http://localhost:8080/calc/sub/{firstNumber}/{secondNumber}
Div
http://localhost:8080/calc/div/{firstNumber}/{secondNumber}
Mult
http://localhost:8080/calc/mult/{firstNumber}/{secondNumber}
History
http://localhost:8080/calc/history
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.