Moved http related functions to their own file; added 'sum.go' for a second endpoint.

This commit is contained in:
2025-07-15 12:41:07 +02:00
parent cce4d5db5c
commit 4b4f8ea20b
5 changed files with 88 additions and 59 deletions

6
functions/sum.go Normal file
View File

@@ -0,0 +1,6 @@
package functions
func sum(first int, second int) (result int) {
result = first + second
return
}