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

regoversion

package
v1.1.6 Latest Latest
Warning

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

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

Documentation

Overview

Package regoversion holds the Rego syntax version used to parse and compile policies. Rules are still authored in Rego v0 syntax; changing Default to ast.RegoV1 is the switch for moving policies to Rego v1.

Index

Constants

View Source
const Default = ast.RegoV0

Variables

This section is empty.

Functions

func ParserOptions

func ParserOptions() ast.ParserOptions

Types

This section is empty.

Jump to

Keyboard shortcuts

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