_simple_bank_system

package
v0.0.0-...-6ad7fa7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bank

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

func Constructor

func Constructor(balance []int64) Bank

func (*Bank) Deposit

func (this *Bank) Deposit(account int, money int64) bool

func (*Bank) Transfer

func (this *Bank) Transfer(account1 int, account2 int, money int64) bool

func (*Bank) Withdraw

func (this *Bank) Withdraw(account int, money int64) bool

Jump to

Keyboard shortcuts

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