helpers

package
v0.0.0-...-8328a67 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGinParamFloat64

func GetGinParamFloat64(c *gin.Context, name string) (float64, error)

func GetGinParamInt

func GetGinParamInt(c *gin.Context, name string) (int, error)

func GetGinParamInt32

func GetGinParamInt32(c *gin.Context, name string) (int32, error)

func GetGinParamString

func GetGinParamString(c *gin.Context, name string) string

func GinResponseError

func GinResponseError(c *gin.Context, httpCode int, errMessage string)

func GinResponseSuccess

func GinResponseSuccess(c *gin.Context, datas interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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