handlers

package
v0.0.0-...-2e3fe9b Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Addition

func Addition(w http.ResponseWriter, r *http.Request)

func ApiHandler

func ApiHandler(r *chi.Mux)

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 Division

func Division(w http.ResponseWriter, r *http.Request)

func Multiplication

func Multiplication(w http.ResponseWriter, r *http.Request)

func Subtraction

func Subtraction(w http.ResponseWriter, r *http.Request)

func Sum

func Sum(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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