models

package
v0.0.0-...-ce1a745 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB
View Source
var IdCounter = 0

Functions

func ConnectDatabase

func ConnectDatabase()

Types

type Operation

type Operation struct {
	Id            int       `json: id`
	Date          time.Time `json: "date"`
	EffectiveDate time.Time `json: "effectiveDate"`
	Label         string    `json: "id"`
	Amount        float64   `json: "amount"`
}

func ParseOperation

func ParseOperation(s string) (Operation, error)

Jump to

Keyboard shortcuts

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