format

package
v0.20.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Nil = "nil"
View Source
const Void = "()"

Variables

This section is empty.

Functions

func Address

func Address(address common.Address) string

func Array

func Array(values []string) string

func BigInt

func BigInt(int *big.Int) string

func Bool

func Bool(b bool) string

func Bytes

func Bytes(bytes []byte) string

func Capability

func Capability(borrowType string, address string, path string) string

func Composite

func Composite(typeID string, fields []struct {
	Name  string
	Value string
}) string

func Dictionary

func Dictionary(pairs []struct {
	Key   string
	Value string
}) string

func Fix64

func Fix64(v int64) string

func Int

func Int(int int64) string
func Link(ty string, targetPath string) string

func PadLeft

func PadLeft(value string, separator rune, minLength uint) string

func Path

func Path(domain string, identifier string) string

func String

func String(s string) string

func TypeValue

func TypeValue(ty string) string

func UFix64

func UFix64(v uint64) string

func Uint

func Uint(uint uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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