You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: speakeasy.go
    path of file: ./repos/goldfish/vendor/github.com/bgentry/speakeasy
    
    the code of the file until where you have to start completion: package speakeasy

import (
	"fmt"
	"io"
	"os"
	"strings"
)

// Ask the user to enter a password with input hidden. prompt is a string to
// display before the user's input. Returns the provided password, or an error
// if the command failed.

    
func FAsk(wr io.Writer, prompt string) (password string, err error) {
	if wr != nil && prompt != "" {
		fmt.Fprint(wr, prompt) // Display the prompt.
	}
	password, err = getPassword()

	// Carriage return after the user input.
	if wr != nil {
		fmt.Fprintln(wr, "")
	}
	return
}