To mask a password within a string:
containsPass := "password: nonofyourbusiness"
masked := mask.Password(containsPass)
println(masked) // password: ****
You can also select your own mask:
containsPass := "password: nonofyourbusiness"
masked := mask.Password(containsPass, "????")
println(masked) // password: ????