utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysForVersion

func KeysForVersion(from versioning.VersionKey, keys []datastore.Key) []datastore.Key

KeysForVersion wraps every key in a list with a version prefix

Types

type NotReadyStoredState

type NotReadyStoredState struct {
	Err error
}

NotReadyStoredState just returns errors that migrations that have not been run

func (*NotReadyStoredState) End

func (nrss *NotReadyStoredState) End() error

End returns a migration error

func (*NotReadyStoredState) Get

Get returns a migration error

func (*NotReadyStoredState) Mutate

func (nrss *NotReadyStoredState) Mutate(mutator interface{}) error

Mutate returns a migration error

Jump to

Keyboard shortcuts

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