util

package
v0.0.0-...-95bb65c Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: ISC Imports: 6 Imported by: 0

Documentation

Overview

Package util provides utility functions for various things such as strings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateULID

func GenerateULID() string

func GetStringBetweenStrings

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

func NL2BR

func NL2BR(s string) string

func RandomString

func RandomString(n int) string

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

func StringLinkToHTMLLink(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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