controllers

package
v0.0.0-...-1000b3f Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	ID      int64   `bson:"id" json:"id"`
	From    string  `bson:"from" json:"from"`
	To      string  `bson:"to" json:"to"`
	Bitcoin float32 `bson:"bitcoin" json:"bitcoin"`
}

Transaction :事务

func (*Transaction) Create

func (t *Transaction) Create() (bool, error)

Create :创建事务

Jump to

Keyboard shortcuts

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