request

package
v0.0.0-...-f15947d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Empty = S("")

Variables

This section is empty.

Functions

func ParseJson

func ParseJson(c *gin.Context, obj interface{}) error

Types

type S

type S string

S 字符串类型转换

func (S) Bytes

func (s S) Bytes() []byte

Bytes 转换为[]byte

func (S) Float64

func (s S) Float64() float64

Float64 转换为float64

func (S) Int

func (s S) Int() int

Int 转换为int

func (S) Int64

func (s S) Int64() int64

Int64 转换为int64

func (S) String

func (s S) String() string

func (S) ToJSON

func (s S) ToJSON(v interface{}) error

ToJSON 转换为JSON

func (S) Uint

func (s S) Uint() uint

Uint 转换为uint

func (S) Uint64

func (s S) Uint64() uint64

Uint64 转换为uint64

Jump to

Keyboard shortcuts

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