teststore

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package teststore is a testing helper package which initializes a new crdb database and runs migrations returning a new store which may be used during testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestStorage

func NewTestStorage(t *testing.T) (storage.Storage, func())

NewTestStorage creates a new permissions database instance for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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