database

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(clock based.Clock, cfg Config) (*gorm.DB, error)

Types

type Config

type Config struct {
	Driver Driver `yaml:"driver"`
	DSN    string `` /* 149-byte string literal not displayed */
}

type Driver

type Driver string

func (Driver) SchemaEnum

func (Driver) SchemaEnum() any

Jump to

Keyboard shortcuts

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