spechelper

package
v0.0.0-...-111dbc0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatabaseURL

func DatabaseURL(tb testing.TB) string

func MigrateTestEntity

func MigrateTestEntity(tb testing.TB, cm postgresql.ConnectionManager)

func TestEntityMapping

func TestEntityMapping() postgresql.Mapper

Types

type TestEntity

type TestEntity struct {
	ID  string `ext:"ID"`
	Foo string
	Bar string
	Baz string
}

Jump to

Keyboard shortcuts

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