gormstore

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package gormstore adapts GORM-managed database connections to GoMyAdmin.

Package gormstore adapts a GORM connection to GoMyAdmin's AdminStore.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MySQL

func MySQL(db *gorm.DB, app *admin.App) (*sqlstore.Store, error)

func New

func New(db *gorm.DB, app *admin.App, dialect sqlstore.Dialect) (*sqlstore.Store, error)

New returns a database/sql-backed store using the *sql.DB managed by GORM. The application keeps ownership of the GORM connection and its lifecycle.

func SQLite

func SQLite(db *gorm.DB, app *admin.App) (*sqlstore.Store, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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