util

package
v0.2.0-beta11 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalysisOrder

func AnalysisOrder(prerequisites [][]string) ([]string, error)

AnalysisOrder 使用拓扑排序 分析节点fetch优先级

func HasFirstUpKey

func HasFirstUpKey(m model.Map) bool

HasFirstUpKey 用户判断是否存在查询节点

func IsFirstUp

func IsFirstUp(str string) bool

func ParseFunctionsStr

func ParseFunctionsStr(funcStr string) (functionsName string, paramKeys []string)

ParseFunctionsStr 解析ParseFunctionsStr字符串, 返回函数名和参数列表

func ParseRefCol

func ParseRefCol(refStr string) (refPath string, refCol string)

ParseRefCol 解析引用字段 将 "id@":"[]/User/userId" 解析出引用信息

func RemoveSuffix

func RemoveSuffix(key string, suffix string) string

func String

func String(val any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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