Help us shape the future of Go! Take the 2026 Go Developer Survey

url

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BASE_URL string = "https://cdn.pixelbin.io"
View Source
var OPERTATION_SEPARATOR string = "~"
View Source
var PARAMETER_SEPARATOR string = ","
View Source
var URL_WITHOUT_ZONE string = "/([a-zA-Z0-9_-]*)/(.+)/(.*)"
View Source
var URL_WITH_ZONE string = "^/([a-zA-Z0-9_-]*)/([a-zA-Z0-9_-]{6})/(.+)/(.*)$"
View Source
var VERSION2_REGEX string = "^v[1-2]$"
View Source
var ZONE_SLUG string = "([a-zA-Z0-9_-]{6})"

Functions

func FlattenSlice

func FlattenSlice(slice []interface{}) []string

FlattenSlice flattens nested slices of string

func ObjToUrl

func ObjToUrl(obj map[string]interface{}) (string, error)

func UrlToObj

func UrlToObj(url string) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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