Skip to content

This repo serves only as my playground to learn go and has no other uses!

Notifications You must be signed in to change notification settings

behzadmousavi/goFirst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goFirst
Written with Echo, goFirst is a simple calculator which performs the 4 main mathematical operations on the two numbers given in query parameters of its routes or the body.
Asking yourself why it is named goFirst? There are two reasons for that, first this is my first go project, second the first thing comes to your mind when you want to do math is a calculator.
To run the project, you won't have any hardship, simply clone or fork the project into your working directory, change the directory to the project directory and run go run server.go in your terminal.
The project is programmed to run on your 8181 server which you can change easily, currently the available routes are /add,/deduct, /multiply and /divide and two query parameters as first and second will take your numbers on GET method and /math on POST method will take your numbers and the mathematical operation to be performed.

About

This repo serves only as my playground to learn go and has no other uses!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages