Skip to content

Commit

Permalink
Changed function comment to match codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrank2013 committed Aug 4, 2019
1 parent 3559f20 commit 332b16d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ package utils

import "strings"

/*
Redact masks the given token by replacing part of the string with *
*/
// Redact masks the given token by replacing part of the string with *
func Redact(token string) string {
str := token[4 : len(token)-3]
redaction := strings.Repeat("*", len(str))
Expand Down

0 comments on commit 332b16d

Please sign in to comment.