Documentation ¶
Overview ¶
Example ¶
The purpose of this example is to demonstrate the implementation of get and set.
package main import ( "fmt" "log" "github.com/d-tsuji/clipboard" ) func main() { if err := clipboard.Set("gopher"); err != nil { log.Fatal(err) } text, err := clipboard.Get() if err != nil { log.Fatal(err) } fmt.Println(text) }
Output: gopher
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.