utility

package
v0.0.0-...-8af6e0c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIP

func GetIP(r *http.Request) (string, error)

GetIP 获取http客户端真实ip

func GetUrl

func GetUrl(r *ghttp.Request) string

func InArray

func InArray(v interface{}, i interface{}) (b bool, err error)

InArray 判断某个值是否存在与切片或者数组中,此函数的命名十分优秀ヾ(≧▽≦*)o

func Log

func Log(v interface{})

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