escape

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package url parses URLs and implements query escaping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(s string) string

Path escapes the string so it can be safely used as a URL path.

func PathTo added in v0.11.2

func PathTo(s string, sb *stringutils.Builder)

func Query

func Query(s string) string

Query escapes the string so it can be safely placed inside a URL query.

func QueryTo added in v0.11.2

func QueryTo(s string, sb *stringutils.Builder)

Types

This section is empty.

Jump to

Keyboard shortcuts

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