Documentation
¶
Index ¶
- func Addition(w http.ResponseWriter, r *http.Request)
- func ApiHandler(r *chi.Mux)
- func Division(w http.ResponseWriter, r *http.Request)
- func Multiplication(w http.ResponseWriter, r *http.Request)
- func Subtraction(w http.ResponseWriter, r *http.Request)
- func Sum(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiHandler ¶
if func starts with capital letter -> tells the compiler that the function can be imported in other packages if starts with lower case -> private function, which could only be used in this handlers package
func Multiplication ¶
func Multiplication(w http.ResponseWriter, r *http.Request)
func Subtraction ¶
func Subtraction(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.