How do I capture user input from the command line without echoing back the characters that the user types. I want to use this to capture a password. Like getpass.getpass in Python.
package main
import (
"fmt"
)
func main() {
var password string
fmt.Scanln(&password)
}