model

package
v0.0.0-...-54f6014 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnection

func GetConnection(config config.Configuration) *sql.DB

GetConnection opens a new connection pool

Types

type DB

type DB struct {
	DB *sql.DB
}

DB struct contains the SQL database object

type Message

type Message struct {
	Message string `json:"message"`
}

Message struct

type Model

type Model struct {
	Message Message `json:"message"`
}

Model struct

Jump to

Keyboard shortcuts

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