golib

module
v0.0.0-...-760d8ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: GPL-3.0

README

Go lib

GitHub Actions Workflow Status codecov

GitHub repo file or directory count GitHub code size in bytes

Coverage graph

Shared libraries for Go projects.

Use in a project

go get github.com/a-novel/golib

Run the project locally

Prerequisites
  • Go
  • Mockery
  • Make
    • macOS:
      brew install make
      
    • Ubuntu:
      sudo apt-get install make
      
    • Windows: Install chocolatey (from a PowerShell with admin privileges), then run:
      choco install make
      

Install the project dependencies.

go get ./... && go mod tidy

Work on the project

Make sure the project files are properly formatted.

make format

Run tests.

make test

Make sure your code is compliant with the linter.

make lint

If you create / update interfaces signatures, make sure to update the mocks.

mockery

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL