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

如何通过“ go get”使用仅二进制包

My binary package have some dependencies installed from go get command. After building and create sourcode with //go:binary-only-package

There are some errors like:

cannot find package github.com/robfig/cron (using -importcfg)
cannot find package github.com/go-chi/chi/middleware (using -importcfg)

How do i import binary-only package?

近期文章

  • 跨域请求阻止React Golang
  • Golang Lambda中的快速重新发送响应
  • 以编程方式访问Golang中的RPM API /调用
  • 如何在不过滤数据的地方进行预加载
  • 使用math.Round代替此Modf / Ceil / Floor组合是否安全?
  • BPF kprobe套接字相关的系统调用,读取套接字详细信息失败
  • 使用Cassandra GOCQL驱动程序(Golang)找出页面状态
  • 用于Golang的SWIG Coolprop包装纸
  • Golang获取inode文件
  • 使用ldflags“ -linkmode external -extldflags -static”构成了一些导入cgo软件包的“ libprocps.a”
  • 如何在“ GoLang”中使用“本地”模块
  • Golang:从一个字节解析位值
  • 获取不带参数的Revel控制器的URL
  • stdafx.h:致命错误:afxwin.h:没有这样的文件或目录(适用于2018 VS社区但不适用于VS代码)
  • 如何将-ldflags传递到GAE构建?
  • win7+ubuntu 11.04操作失误导致系统无法启动
  • 无故从服务器接收RST软件包
  • 在Golang中使用反射覆盖结构值
  • 使用go或cgo在.exe中检测目录中缺少的dll
  • 当Kubernetes client-go Remotecommand Stream完成时?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华