Movatterモバイル変換


[0]ホーム

URL:


prompt

package
v1.92.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:4Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package prompt provides a simple way to prompt the user for input.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcYesNo

func YesNo(msgstring, dfltbool)bool

YesNo takes a question and prompts the user to answer thequestion with a yes or no. It appends ay/n to the message.

If there is no TTY on both Stdin and Stdout, assume that we're in a scriptand return the dflt result.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp