go-casbin

module
v0.0.0-...-bddae19 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: Unlicense

README

Introduction

Coverage

This Project is a starter template for other services.

  • Uses Hexagonal Architecture
  • Go Mock as Testing Framework
  • GraphQL as the Web framework

Installation

Ensure Golang is installed: https://go.dev/doc/install

go mod tidy
go install github.com/golang/mock/mockgen@v1.6.0

Usage

make run

generate token from the generate api
the health endpoint can only be used for admin roles

Generating Local Coverage Best

  1. make badge

Contributing

Pull requests are welcomes. Please make sure to update tests as appropriate.

Directories

Path Synopsis
internal
mocks/core/ports
Package mock_ports is a generated GoMock package.
Package mock_ports is a generated GoMock package.
pkg

Jump to

Keyboard shortcuts

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