You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
326 B
Go
21 lines
326 B
Go
6 months ago
|
package clipboard
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestGet(t *testing.T) {
|
||
|
c, err := Get()
|
||
|
if err != nil {
|
||
|
t.Error(err)
|
||
|
}
|
||
|
fmt.Println(c.plateform)
|
||
|
fmt.Println(c.winOriginTypes)
|
||
|
fmt.Println(c.PrimaryType())
|
||
|
fmt.Println(c.AvailableTypes())
|
||
|
fmt.Println(c.Text())
|
||
|
fmt.Println(c.HTML())
|
||
|
fmt.Println(c.FilePaths())
|
||
|
}
|