database

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connection

func Connection(uri string, shouldExist, debug bool) (*gorm.DB, error)

Connection returns a Database connection based on a URI

Types

type Application added in v0.1.11

type Application struct {
	Application string    `json:"application"`
	CreatedAt   time.Time `json:"created_at"`
}

func (Application) TableName added in v0.1.11

func (Application) TableName() string

Jump to

Keyboard shortcuts

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