models

package
v0.0.0-...-dee3a21 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 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 Meta

type Meta struct {
	ID          primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
	Owner       string             `json:"owner,omitempty" bson:"owner,omitempty"`
	Price       int64              `json:"price,omitempty" bson:"price,omitempty"`
	Minter      string             `json:"minter,omitempty" bson:"minter,omitempty"`
	Title       string             `json:"title,omitempty" bson:"title,omitempty"`
	Description string             `json:"description,omitempty" bson:"description,omitempty"`
	IpfsHash    string             `json:"ipfshash,omitempty" bson:"ipfshash,omitempty"`
	MintDate    time.Time          `json:"mintdate,omitempty" bson:"mintdate,omitempty"`
}

type Mst_Id

type Mst_Id struct {
	MST string `json:"mst,omitempty" bson:"mst,omitempty"`
	Id  string `json:"id,omitempty" bson:"id,omitempty"`
}

type Mst_Tst

type Mst_Tst struct {
	MST string `json:"mst,omitempty" bson:"mst,omitempty"`
	TST string `json:"tst,omitempty" bson:"tst,omitempty"`
}

type User

type User struct {
	ID        primitive.ObjectID `json:"id" bson:"_id,omitempty"`
	Email     string             `json:"email" bson:"email,omitempty"`
	Password  string             `json:"password" bson:"password,omitempty"`
	CreatedAt time.Time          `json:"createdAt" bson:"createdAt,omitempty"`
	UpdatedAt time.Time          `json:"updatedAt" bson:"updatedAt,omitempty"`
	Username  string             `json:"username" bson:"username,omitempty"`
}

Jump to

Keyboard shortcuts

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