urlencode

package module
v0.0.0-...-afb741f Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 3 Imported by: 0

README

URL Encode

This package provides a urlencode and urldecode utilities.

Input is given as an argument or via stdin.

Usage

Args
$ urlencode hello[there]=1
hello%5Bthere%5D%3D1
Stdin
$ echo hello[there]=1 | urlencode
hello%5Bthere%5D%3D1

License

The MIT License (MIT)

Copyright (c) 2021 Scott Barr

See LICENSE

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadInput

func ReadInput() string

ReadInput takes input from the args or stdin.

If args are not supplied it is assumed input is via stdin, which will block until input is received.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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