text

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BetweenStrings

func BetweenStrings(str string, start string, end string) (result string)

BetweenStrings returns a string between the starting and ending string or an empty string if none could be found

func LinkToHTMLLink(s string) string

LinkToHTMLLink converts regular links to HTML links

func Nl2Br

func Nl2Br(s string) string

Nl2Br converts \n to HTML <br> tags

func RandomString

func RandomString(n int) string

RandomString generates a random string of n length. Based on https://stackoverflow.com/a/22892986/1260548

Types

This section is empty.

Jump to

Keyboard shortcuts

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