Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/almerleoalmazan/learn-go-with-tests
- Owner: almerleoalmazan
- Created: 2024-11-01T13:16:33.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T11:14:09.000Z (3 months ago)
- Last Synced: 2024-11-09T15:48:38.870Z (3 months ago)
- Topics: golang, tdd, testing
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```