From 44a4eacd8661daca007bdabb7bff087af969c770 Mon Sep 17 00:00:00 2001 From: Clynt Heikes <24684947+clheikes@users.noreply.github.com> Date: Wed, 7 Feb 2024 20:36:37 -0600 Subject: [PATCH] add comments --- lib.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib.go b/lib.go index e462a8d..9ab09dc 100644 --- a/lib.go +++ b/lib.go @@ -1,6 +1,11 @@ +// Package addition provides a function for adding two integers package addition +// Add takes two integers and adds them together. +// +// It has two parameters: both parameters are integers, Add returns the sum of the +// two integer parameters +// [Addition](https://www.mathsisfun.com/numbers/addition.html) func Add(a, b int) int { return a + b } -