sanitize

package
v0.0.0-...-585e8d0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2017 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StripTags

func StripTags(html string) string

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

func (Context) String

func (context Context) String() string

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func (*Stack) Peek

func (stack *Stack) Peek() interface{}

func (*Stack) Pop

func (stack *Stack) Pop() interface{}

func (*Stack) PopMany

func (stack *Stack) PopMany(count int) interface{}

func (*Stack) Push

func (stack *Stack) Push(value interface{}) interface{}

func (*Stack) String

func (stack *Stack) String() string

func (*Stack) Walk

func (stack *Stack) Walk(walker Walker) bool

Returns 'true' if walk was stopped prematurely

type Walker

type Walker func(value interface{}) bool

Return 'false' to stop walking stack

Jump to

Keyboard shortcuts

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