我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

未定义:Windows上的syscall.Kill

I'm using eaburns/Watch library on a windows machine, but when trying to get the package with go get github.com/eaburns/Watch I get the following errors:

main.go:159: undefined: syscall.Kill
main.go:169: undefined: syscall.Wait4
main.go:169: undefined: syscall.WNOHANG

Any reason why this happens only on windows computers? Does anybody knows how to fix this?

Thanks in advanced

近期文章

  • 在CGO上处理名称空间的最佳方法
  • 有关Go中供应商依赖性的建议
  • MySQL MATCH查询的格式化字符串
  • Go工具无法找到二进制文件。 去工具:没有这样的工具“兽医”
  • Golang:来自URL的Json作为地图
  • net / context包装在http.ResponseWriter上,好不好?
  • 在Go中获取管道状态
  • 为什么我在golang的pprof中看不到自己的应用程序功能
  • 将图像作为POST请求中的主体附加到golang服务器
  • 将2个值存储在一个变量中
  • 以编程方式进行通话测试
  • 如何在Linux上使用Go指定自定义SSL根
  • 使用切片数据初始化结构
  • 有没有办法在一个二进制文件中包含多个c-archive软件包
  • 为什么杜松子酒(golang)使我的自定义标头变成小写?
  • 在Liteide中调试在AppEngine下运行的golang
  • 如何计算每秒的传出请求数?
  • Golang:如何从包目录中获取数据文件
  • 拨号错误:“打开的文件太多”
  • 如何测试延迟的Go语句?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华