util

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert1

func Convert1(schema map[string]interface{}) (s models.SchemaProperties, total int64, err error)

func FilterSystem

func FilterSystem(sourceStruct spec.SchemaProperties, dst spec.SchemaProperties)

func GetAsMap

func GetAsMap(v interface{}) (map[string]interface{}, error)

GetAsMap GetAsMap

func GetMapToBool

func GetMapToBool(schema map[string]interface{}, key string) (bool, error)

func GetMapToMap

func GetMapToMap(schema map[string]interface{}, key string) (map[string]interface{}, error)

func GetMapToString

func GetMapToString(schema map[string]interface{}, key string) string

GetMapToString GetMapToString

func GetSpecSchema

func GetSpecSchema(properties models.SchemaProperties) (spec.SchemaProperties, []string)

func GetSummary

func GetSummary(tableName, operate string) string

func IsLayoutComponent

func IsLayoutComponent(value interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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