format

package
Version: v0.0.0-...-afa1830 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BearerToken = regexp.MustCompile(`^Bearer ([\S]+)`)
View Source
var UnpaddedURLSafeBase64 = regexp.MustCompile(`^[a-zA-Z0-9_-]+$`)

UnpaddedURLSafeBase64 ...

Functions

func AddQueryParam

func AddQueryParam(originalURL, paramKey, paramVal string) (string, error)

AddQueryParam to the originalURL using the net/url paramKey as query parameter key and paramVal as query parameter value

func ScopeSlug

func ScopeSlug(source string) string

ScopeSlug use a slugifer to return the source string as a slug formatted for consent scopes

Types

This section is empty.

Jump to

Keyboard shortcuts

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