Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

cask source realm

Package cask is a Cellar challenge about fixed-width integer arithmetic.

Overview

Package cask is a Cellar challenge about fixed-width integer arithmetic.

Functions 4

func Buy

crossing Action
1func Buy(cur realm, casks int64)
source

Buy purchases casks at the cooper's price.

func Holdings

Action
1func Holdings(addr address) (shillings, casks int64)
source

Holdings returns the purse and casks of addr.

func Render

1func Render(_ string) string
source

Render shows the price list and the guests' books.

Dependencies

Source Files 4