controller

package
v0.0.0-...-bd96cb4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(jsonMap map[string]interface{}, structName string, goStruct *[]string)

* 递归分析map中是否含有(map[string]interface{},[]interface{})类型,有就转化为JsonObject

func ConvertAction

func ConvertAction(ctx iris.Context)

func Json2StructString

func Json2StructString(json string, structName string) (structString string)

* 把json 字符串转化为go struct 的字符串

func Print

func Print(jsonBaseMap map[string]interface{}, structName string, goStruct *[]string)

* 把只含有以下类型(string,float64,JsonObject)的map 转化为Go Struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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