Documentation
¶
Index ¶
Constants ¶
View Source
const ( SuffixA = "_a" SuffixB = "_b" )
Variables ¶
This section is empty.
Functions ¶
func TrimUserSuffix ¶ added in v1.0.6
TrimUserSuffix removes the suffixes from the given string.
Types ¶
type DBUser ¶
type DBUser struct {
// contains filtered or unexported fields
}
DBUser is a struct that holds the usernames for a given role.
func (DBUser) IsUserChanged ¶
IsUserChanged checks if the given currentUserName has changed compared to the rolename of the DBUser instance.
Click to show internal directories.
Click to hide internal directories.