// Package clipboard reads and writes the system clipboard (text only) and detects // content that password managers mark as secret. package clipboard // Content is the current clipboard text. Concealed is set when a password manager // marked it as secret; the text is then left empty and must never be sent anywhere. type Content struct { Text string Concealed bool } // Clipboard is implemented per operating system (see New in the *_.go files). type Clipboard interface { Read() (Content, error) Write(text string) error }