Is Even A golang package to check is a number is even.
Installation
go get github.com/AvicennaJr/IsEven
How To Use
package main
import (
"fmt"
iseven "github.com/AvicennaJr/isEven"
)
func main() {
n := 4
if iseven.IsEven(n) {
fmt.Println("It is even")
} else {
fmt.Println("It is not even")
}
}
Issues
Do open issues for any complaints
Contributions
If you want to contribute, simply open a pull request.
Credits
Thanks to the hundreds of developers who made this project possible.