Initial commit

master v0.1.0
Drew Bednar 10 months ago
commit c41300879e

@ -0,0 +1,3 @@
# Exmod1 is an Example Golang Module
This is a module used to learn golang modules.

@ -0,0 +1,3 @@
module git.runcible.io/learning/exmod1
go 1.21.0

@ -0,0 +1,11 @@
package maths
// Add adds two integers a and b together, returning the result.
func Add(a, b int) int {
return a + b
}
// Sub subtracts integer b from integer a, returning the result
func Sub(a, b int) int {
return a - b
}
Loading…
Cancel
Save