model

package
v0.0.0-...-4e1bfa0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	TotalCount int64   `json:"total_count"`
	TotalSum   float64 `json:"total_sum"`
}

type Transaction

type Transaction struct {
	ID     primitive.ObjectID `json:"id" bson:"_id,omitempty"`
	Amount float64            `json:"amount" bson:"amount"`
	Time   time.Time          `json:"time" bson:"time"`
}

Jump to

Keyboard shortcuts

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