url

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildQuery

func BuildQuery(query map[string]interface{}) url.Values

BuildQuery 将map中数据转换成 url.Values

func BuildURL

func BuildURL(path string, query map[string]interface{}, req *http.Request) string

BuildURL 根据请求和相对路径转换成地址

func ConcatPath

func ConcatPath(paths ...string) string

ConcatPath 拼接路径

func Join

func Join(v url.Values) string

Join 将v中的所有键值对拼接成URL

func SAImageUrl

func SAImageUrl(req *http.Request) string

SAImageUrl SA的Logo地址

func StaticPath

func StaticPath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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