Go Unit Testing Example
This repository serves as an example for implementing unit tests in a Golang project. It demonstrates best practices for structuring your codebase to facilitate testing and includes examples of unit tests using the standard testing
package.
Getting Started
Prerequisites
Before running the tests, ensure that you have Golang installed on your machine. You can download it here.
Running Tests
To run the unit tests, use the following command:
make tests