Skip to content

richmondgoh8/go-casbin

Repository files navigation

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.

About

GraphQL with Casbin Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published