utils

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExternalURL

func IsExternalURL(rawURL string) bool

IsExternalURL checks if rawURL points to an external URL like http://example.com

func RemoveUsernameParameterSuffix

func RemoveUsernameParameterSuffix(name string) string

RemoveUsernameParameterSuffix returns the username parameter without the (fullname) suffix - leaving just the username

func SanitizeFlashErrorString

func SanitizeFlashErrorString(x string) string

SanitizeFlashErrorString will sanitize a flash error string

Types

This section is empty.

Jump to

Keyboard shortcuts

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