utils

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToString

func InterfaceToString(val interface{}) string

func StructToUrlQuery

func StructToUrlQuery(m interface{}) (string, error)

将struct转成url的参数,并去除有json omitempty且值为空的参数,类似param1=1&param2=2

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