fix comment on new func
This commit is contained in:
@@ -9,8 +9,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// GetDomain : parse domain name from based on slashes in the input
|
||||||
func GetDomain(user string) (string, string) {
|
func GetDomain(user string) (string, string) {
|
||||||
// parse domain name from based on slashes in the input
|
|
||||||
domain := ""
|
domain := ""
|
||||||
|
|
||||||
if strings.Contains(user, "\\") {
|
if strings.Contains(user, "\\") {
|
||||||
|
Reference in New Issue
Block a user