reform

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package reform controls the logic for reformatting text into hash structures

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsciiEscapeUnicode

func AsciiEscapeUnicode(str string) string

AsciiEscapeUnicode will convert a string into an unicode escaped format

Args:

str (string): String to escape

Returns:

escapedRunes (string): Converted runes in string format

func EncodeInput

func EncodeInput(stdIn *bufio.Scanner)

EncodeInput URL and HTML encode standard input and prints new instances

Args:

stdIn (*bufio.Scanner): Standard in as a buffer

Returns:

None

func EncodeString

func EncodeString(s string) (string, string, string)

EncodeString is used to URL and HTML encode a string where possible

Only returns if the output is different than the input string

Args:

s (string): Input string

Returns:

urlEncoded (string): Input string URL encoded
htmlEncoded (string): Input string HTML encoded
escapedEncoded (string): Input string unicode escaped encoded

Types

This section is empty.

Jump to

Keyboard shortcuts

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