Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nithyanatarajan/go-with-tests


https://github.com/nithyanatarajan/go-with-tests

Last synced: 7 days ago
JSON representation

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
```