package version

import "github.com/open-policy-agent/opa/internal/version"

Package version implements helper functions for the stored version.

Index

Functions

func Write

func Write(ctx context.Context, store storage.Store, txn storage.Transaction) error

Write the build version information into storage. This makes the version information available to the REPL and the HTTP server.

Source Files

version.go

Version
v0.12.2
Published
Jul 27, 2019
Platform
linux/amd64
Imports
3 packages
Last checked
2 hours ago

Tools for package owners.