adapters

package
v0.0.0-...-2e794c7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SqlConnection

func SqlConnection(username string, password string, host string, port string) *gorm.DB

Types

type Hello

type Hello struct {
	Name string `gorm:"column:name"`
	ID   int64  `gorm:"primaryKey"`
}

type SqlDB

type SqlDB struct {
	SqlConn *gorm.DB
}

func (*SqlDB) CloseSql

func (sql *SqlDB) CloseSql()

Jump to

Keyboard shortcuts

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