Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/almerleoalmazan/learn-go-with-tests

Learning Go using TDD approach
https://github.com/almerleoalmazan/learn-go-with-tests

golang tdd testing

Last synced: about 2 months ago
JSON representation

Learning Go using TDD approach

Awesome Lists containing this project

README

        

# Learn Go with Tests

This project demonstrates a simple Go application with unit tests.

## Project Structure

- `go.mod`: The Go module file.
- `main.go`: Contains the main application code.
- `main_test.go`: Contains unit tests for the application.
- `README.md`: This file.

## Getting Started

### Prerequisites

- Go 1.16 or later

### Running the Application

To run the application, use the following command:

```sh
go run [main.go]
```

### Running the Tests

To run the tests, use the following command:
```sh
go test
```