common

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONOrDefault

func JSONOrDefault(j null.JSON) json.RawMessage

func RemoveSpecialCharacter added in v0.6.9

func RemoveSpecialCharacter(input string) string

func ResolveEtherumAddressFromString added in v0.6.2

func ResolveEtherumAddressFromString(etherumAddress string) ([]byte, error)

func SafeString added in v0.10.7

func SafeString(s null.String) string

Types

type FormulaType added in v0.6.2

type FormulaType string
const (
	DBCFormulaType    FormulaType = "dbc"
	CustomFormulaType FormulaType = "custom"
)

func (FormulaType) String added in v0.6.2

func (t FormulaType) String() string

Jump to

Keyboard shortcuts

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