utils

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatPyi

func FormatPyi(amount uint64) string

FormatPyi takes the amount of leors as uint64, and returns amount of PYI with 8 decimal places

func PyiToLeor

func PyiToLeor(amount string) (uint64, error)

PyiToLeor takes in a string representation of the Kas value to convert to Sompi

func ReadLine

func ReadLine(reader *bufio.Reader) (string, error)

ReadLine reads one line from the given reader with trimmed white space.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳