Help us shape the future of Go! Take the 2026 Go Developer Survey

modelversion

package
v2.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package modelversion identifies which authorization model in the fga store matches the model shipped with this build

the model carries a generated marker type, model_version_<hash>, where the hash covers every model file listed in fga.mod (see task fga:generate:version). fgax asks the matcher whether a model it found in the store is the one this build expects, and creates a new model when nothing matches, so a model change reaches a store that already holds an older model

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Matcher

func Matcher(ctx context.Context) (fgax.ModelMatcher, error)

Matcher returns a matcher accepting only a model that carries this build's version marker

Types

This section is empty.

Jump to

Keyboard shortcuts

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