utils

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidSlackChannel added in v1.6.0

func IsValidSlackChannel(channelName string) bool

IsValidSlackChannel validates a channel name conforms to what slack expects. It makes sure a channel name cannot be empty and invalid ( only an # )

func RemoveUsernameParameterSuffix

func RemoveUsernameParameterSuffix(name string) string

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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