stringutil

package
v0.0.0-...-4e09bf3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatHTML

func FormatHTML(s string) string

FormatHTML parses a input HTML string, formats it and returns the result.

func IsEmpty

func IsEmpty(in *string) bool

IsEmpty checks if a string pointer is empty.

func IsNotEmpty

func IsNotEmpty(in *string) bool

IsNotEmpty checks if a string pointer is empty.

func RemoveDuplicateWhitespace

func RemoveDuplicateWhitespace(s string) string

RemoveDuplicateWhitespace removes duplicate whitespace from a string. Including tab & new line characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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