package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Jan 16, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
JsonToProto 转换json string为proto
func JsonToStruct(data string, v interface{})
JsonToStruct 转换json string为struct,忽略转换错误
ProtoToJson 转换proto为json string
func StructToJson(data interface{}) string
StructToJson 转换struct为json string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.