db

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

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

Go to latest
Published: Nov 19, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDatabase

func OpenDatabase(databaseDialect string, databaseConnection string) (database *gorm.DB, err error)

Types

type Transaction

type Transaction struct {
	gorm.Model
	TransactionID uint
	CustomerID    uint
	LoadAmount    float64
	Time          time.Time
	Year          uint
	Month         uint
	Day           uint
	Week          uint
}

Jump to

Keyboard shortcuts

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