validator

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InSlice added in v1.5.4

func InSlice(s string, slice []string) bool

func InitExchangeList

func InitExchangeList(e []string)

func Is

func Is(field interface{}, tag string) bool

Is call go-playground/validator https://pkg.go.dev/github.com/go-playground/validator/v10

func IsBuyerMaker added in v1.5.4

func IsBuyerMaker(side string) bool

func IsBuyerMakerOC

func IsBuyerMakerOC(open, close float64) bool

func IsEmpty added in v1.5.4

func IsEmpty(s string) bool

func IsExchange

func IsExchange(exchange string) bool

func IsExchangeWith

func IsExchangeWith(exchange string, exchanges []string) bool

func IsSymbol

func IsSymbol(symbol string) bool

func IsSymbolWith

func IsSymbolWith(symbol, sep string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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