gorms

package
v0.0.0-...-ace6a59 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgres

type Postgres struct {
	DSN string
}

func (Postgres) MustOpen

func (p Postgres) MustOpen() *gorm.DB

type SQLite

type SQLite struct {
	DSN              string
	EnableWAL        bool
	EnableForeignKey bool
}

func (SQLite) MustOpen

func (s SQLite) MustOpen() *gorm.DB

Jump to

Keyboard shortcuts

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