engine

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package engine carries the goose migrations that define the metering engine's database schema. They are embedded rather than read from disk so that the binary and the schema it expects travel as one artifact: a container image cannot drift from the migration directory it was built against.

Index

Constants

View Source
const Version int64 = 2

Version is the highest version this package embeds, and so the schema a binary built from this tree expects.

Adding a migration means raising this; a test fails otherwise.

Variables

FS holds the migration files of this package. Goose applies them in the order given by the numeric prefix of each file name.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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