剪贴板:Go Go中的跨平台剪贴板包

上传者: 42181686 | 上传时间: 2023-08-29 15:43:21 | 文件大小: 45KB | 文件类型: ZIP
剪贴板 Go中的跨平台剪贴板包 import "golang.design/x/clipboard" 特征 跨平台支持:macOS,Linux(X11)和Windows 复制/粘贴UTF-8文本 复制/粘贴PNG编码的图像 命令gclip作为演示应用程序 API用法 软件包clipboard提供了三种用于操作剪贴板的主要API: Read , Write和Watch 。 最常见的操作是Read和Write 。 要使用它们,您可以: // write/read text format data of the clipboard, and // the byte buffer regarding the text are UTF8 encoded. clipboard . Write ( clipboard . FmtText , [] byte ( "text data" )) cli

文件下载

资源详情

[{"title":"( 22 个子文件 45KB ) 剪贴板:Go Go中的跨平台剪贴板包","children":[{"title":"clipboard-main","children":[{"title":"testdata","children":[{"title":"clipboard.png <span style='color:#111;'> 20.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"cmd","children":[{"title":"gclip","children":[{"title":"main.go <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"clipboard_linux.c <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"internal","children":[{"title":"cgo","children":[{"title":"handle.go <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"handle_test.go <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"clipboard.yml <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"clipboard_darwin.m <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"clipboard_windows.go <span style='color:#111;'> 13.57KB </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"example_test.go <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"clipboard_test.go <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"clipboard_linux.go <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"clipboard.go <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"export_test.go <span style='color:#111;'> 61B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"clipboard_darwin.go <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"test-docker.sh <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 42B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明