File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,3 +125,7 @@ devc -tran -w
125125
126126欢迎通过 GitHub 提交 Issue 或 Pull Request,帮助改进 ` devc ` 。
127127
128+ ## 参考资料
129+
130+ - [ Window API] ( https://learn.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-openclipboard )
131+ - [ Github atotto/clipboard] ( https://github.com/atotto/clipboard/blob/master/clipboard_windows.go )
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ func init() {
3535 flag .Parse ()
3636
3737 // 打印参数值
38- fmt .Println ("top:" , * top )
39- fmt .Println ("han:" , * han )
40- fmt .Println ("hump:" , * hump )
41- fmt .Println ("tran:" , * tran )
38+ // fmt.Println("top:", *top)
39+ // fmt.Println("han:", *han)
40+ // fmt.Println("hump:", *hump)
41+ // fmt.Println("tran:", *tran)
4242
4343 // 应用程序数据的存储目录
4444 devPath = os .Getenv ("DEVC" )
@@ -123,7 +123,6 @@ func main() {
123123 translate := internal .Translate (data )
124124 fmt .Println ("中文->" , data )
125125 fmt .Println ("英文->" , translate )
126-
127126 }
128127 } else {
129128 fmt .Println ("排除内容->" + data )
You can’t perform that action at this time.
0 commit comments