conv

package
v0.0.0-...-dd28a31 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToInt

func InterfaceToInt(itf interface{}) (num int, err error)

interface转整型

func InterfaceToJson

func InterfaceToJson(itf interface{}) (string, error)

将interface数据转json

func Path2Map

func Path2Map(path string) map[string]string

把url路径中的path请求,变成key val,path参数值形式:/user/list/p/1,转成map[string]string

func UpperFirst

func UpperFirst(str string) string

首字母大写

Types

This section is empty.

Jump to

Keyboard shortcuts

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