microservice_go

command
v0.0.0-...-d7ce89a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL