engine

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 = 3

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