We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3559f20 commit 332b16dCopy full SHA for 332b16d
utils/utils.go
@@ -2,9 +2,7 @@ package utils
2
3
import "strings"
4
5
-/*
6
-Redact masks the given token by replacing part of the string with *
7
-*/
+// Redact masks the given token by replacing part of the string with *
8
func Redact(token string) string {
9
str := token[4 : len(token)-3]
10
redaction := strings.Repeat("*", len(str))
0 commit comments