12 lines
238 B
Go
12 lines
238 B
Go
//go:build windows || darwin
|
|
|
|
package zenity
|
|
|
|
func password(opts options) (string, string, error) {
|
|
if opts.username {
|
|
return "", "", ErrUnsupported
|
|
}
|
|
opts.hideText = true
|
|
str, err := entry("Password:", opts)
|
|
return "", str, err
|
|
}
|