ecms_go_filter

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

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

ecms-go-filter (work-in-progress)

Filter package for filter/transforming values.

Docs summary

  • bytes
    • [-] - SubSequences - Untested.
    • [-] - SliceSubSequences - Untested.
  • string
    • - LowerCase
    • - Trim
    • - XmlEntities
    • [-] - GetStripHtmlTags (tested/completed with caveats (doesnt' support self closing tags, and tags with attributes containing json content)).
    • - GetStripPopulatedHtmlAttribs (currently doesn't support boolean html attribs (hence name))
    • [-] - GetPatternFilter (there is in implementation but it is untested)
    • - GetBoolFilter

License

Apache 2.0 License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Identity

func Identity(x interface{}) interface{}

func StrSliceSubSequences

func StrSliceSubSequences(xss []string) [][]string

func StrSubSequences

func StrSubSequences(xs string) []string

@todo update `StrSubSequences` to use bytes strings instead

func ToByteString

func ToByteString(x interface{}) []byte

Types

type Filter

type Filter = func(interface{}) interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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