OpenFGA SDK for Go.
翻譯準備中
正在載入完整 README。
檢視完整 README ↗This is an autogenerated Go SDK for OpenFGA. It provides a wrapper around the OpenFGA API definition.
OpenFGA is an open source Fine-Grained Authorization solution inspired by Google's Zanzibar paper. It was created by the FGA team at Auth0 based on Auth0 Fine-Grained Authorization (FGA), available under a permissive license (Apache-2) and welcomes community contributions.
OpenFGA is designed to make it easy for application builders to model their permission layer, and to add and integrate fine-grained authorization into their applications. OpenFGA’s design is optimized for reliability and low latency at a high scale.
To install:
go get -u github.com/openfga/go-sdk
In your code, import the module and use it:
import "github.com/openfga/go-sdk"
func Main() {
configuration, err := openfga.NewConfiguration(openfga.Configuration{})
}
You can then run
go mod tidy
to update go.mod and go.sum if you are using them.
Learn how to initialize your SDK
以上為 README 的開頭部分。其餘內容請閱讀原文。 檢視完整 README ↗