core

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(jsonStr string, rootObjName string, OutPutMode int, withPointer bool, nullTypeName string) (string, error)

func GoTypeForInline added in v0.0.4

func GoTypeForInline(fieldName string, keyName string, value interface{}, numberStrings map[string]string,
	boolFields map[string]bool, nullFields map[string]string, nullTypeName string) (string, string)

func GoTypeForOutline added in v0.0.4

func GoTypeForOutline(fieldName string, keyName string, value interface{}, withPointer bool,
	numberStrings map[string]string, boolFields map[string]bool, nullFields map[string]string, nullTypeName string) (string, string)

Types

type OrderedMap

type OrderedMap struct {
	Keys          []string
	Map           map[string]interface{}
	NumberStrings map[string]string
	BoolFields    map[string]bool
	NullFields    map[string]string
}

func (*OrderedMap) UnmarshalJSON

func (o *OrderedMap) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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