extremely useless backend server that does simple arithmetic
e.g. https://ca.faretek.dev/add/1/2 gives 1 + 2 = 3 as a response.
The response isn't even json. it's just a string with the inputs and the output in the format {a} {op} {b} = {result}
so yeah. this is my first actual project in go which is cool i guess. its quite useless though
It works with floats and ints. 1 / 0 gives +Inf because of how go and IEEE 754 works.
add: +
sub: -
mul: *
div: /