Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simonstnn/iseven

A Go package that checks if a given value is even.
https://github.com/simonstnn/iseven

go go-package golang iseven isodd

Last synced: 13 days ago
JSON representation

A Go package that checks if a given value is even.

Awesome Lists containing this project

README

        

# IsEven

A Go package that checks if a given value is even.

## Usage

Here's how you can use the `IsEven` function:

```go
import (
"fmt"
"github.com/SimonStnn/iseven"
)

func main() {
fmt.Println(iseven.IsEven(5)) // Output: true
fmt.Println(iseven.IsEven(4)) // Output: false
}
```

## Installation

To install the `iseven` package, you can use `go get`:

```bash
go get github.com/SimonStnn/iseven
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

If you have any suggestions or improvements, please open an issue to discuss them. I appreciate all feedback and ideas!

> Thank you for using my Go package!