Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nithyanatarajan/go-with-tests
https://github.com/nithyanatarajan/go-with-tests
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nithyanatarajan/go-with-tests
- Owner: nithyanatarajan
- Created: 2023-08-04T17:45:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-15T10:47:56.000Z (about 1 year ago)
- Last Synced: 2024-11-08T12:51:10.415Z (2 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-with-tests
[![Build Status](https://github.com/nithyanatarajan/go-with-tests/actions/workflows/ci.yml/badge.svg)](https://github.com/nithyanatarajan/go-with-tests/actions/workflows/ci.yml)
This repository follows [this gitbook](https://quii.gitbook.io/learn-go-with-tests/)
## To run application
```shell
go run .
```## To run tests
```shell
go test -v ./...
go test -bench . -run=^benchmark ./...
```## To lint
```shell
golangci-lint run -v
```## To fix lint
```shell
golangci-lint run --fix
```