objUtil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayToStrSlice

func ArrayToStrSlice(obj []interface{}) []string

func ObjByAnchor

func ObjByAnchor(obj interface{}, anchor string) interface{}

func ObjToMap

func ObjToMap(obj interface{}) map[string]interface{}

func ObjToStrMap

func ObjToStrMap(obj interface{}) map[string]string

func ObjToStrSlice

func ObjToStrSlice(obj interface{}) []string

func SimpleCopyProperties

func SimpleCopyProperties(target, src interface{}) (err error)

对象copy target 目标对象指针 src 源对象(或源对象指针)

func ToString

func ToString(obj interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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