pointers

package
v0.0.0-...-0adf08c Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InsufficientFundsError = errors.New("cannot withdraw, insufficient funds")

Functions

This section is empty.

Types

type Bitcoint

type Bitcoint int

func (Bitcoint) String

func (b Bitcoint) String() string

type Wallet

type Wallet struct {
	// contains filtered or unexported fields
}

func (*Wallet) Balance

func (w *Wallet) Balance() Bitcoint

func (*Wallet) Deposit

func (w *Wallet) Deposit(amount Bitcoint)

func (*Wallet) Withdraw

func (w *Wallet) Withdraw(amount Bitcoint) error

Jump to

Keyboard shortcuts

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