util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 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 g.Map) bool

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

func IsFirstUp

func IsFirstUp(str string) bool

func ParseFunctionsStr

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

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

func ParseNodeKey

func ParseNodeKey(inK string) (k string, isList bool)

func ParseRefCol

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

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

func RemoveSuffix

func RemoveSuffix(key string, suffix string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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