models

package
v0.0.0-...-34481b2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Price

type Price struct {
	ID        primitive.ObjectID `bson:"_id,omitempty"`
	Name      string             `bson:"name"`
	Price     float64            `bson:"price"`
	Changes   int                `bson:"changes"`
	UpdatedAt time.Time          `bson:"updated_at"`
}

func (*Price) ToPBListReplyPrice

func (p *Price) ToPBListReplyPrice() *pb.ListReply_Price

Jump to

Keyboard shortcuts

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