converter

package
v0.0.0-...-0e43621 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMap

func ConvertMap(x map[string]interface{}) map[string]interface{}

ConvertMap converts compageJSON structure to {edges: [], nodes:[]}

func GetCompageJSON

func GetCompageJSON(jsonString string) (*core.CompageJSON, error)

GetCompageJSON converts json string to CompageJSON struct

func GetEdges

func GetEdges(edges interface{}) interface{}

GetEdges converts edges map to string.

func GetMetadata

func GetMetadata(metadataInput string) map[string]interface{}

GetMetadata converts string to map

func GetNodes

func GetNodes(nodes interface{}) interface{}

GetNodes converts nodes map to string.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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