htmlescape

package module
v0.0.0-...-853ab9c Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 3 Imported by: 2

README

go-htmlescape

Package htmlescape provides tools for safely escaping text within HTML, replacing any special-characters into HTML-entities, for the Go programming language.

Documention

Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-htmlescape

GoDoc

Import

To import package htmlescape use import code like the follownig:

import "sourcecode.social/reiver/go-htmlescape"

Installation

To install package htmlescape do the following:

GOPROXY=direct go get https://sourcecode.social/reiver/go-htmlescape

Author

Package htmlescape was written by Charles Iliya Krempeaux

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendBytes

func AppendBytes(p []byte, bytes []byte) ([]byte, error)

func AppendRune

func AppendRune(p []byte, r rune) []byte

func AppendString

func AppendString(p []byte, str string) ([]byte, error)

func String

func String(str string) string

func WriteBytes

func WriteBytes(writer io.Writer, bytes []byte) (n int, err error)

func WriteRune

func WriteRune(writer io.Writer, r rune) (n int, err error)

func WriteString

func WriteString(writer io.Writer, str string) (n int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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