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

安装golang程序包后,它不起作用

I'm new on golang. According this instructions, to install go-bindata, I should use this command:

$ go get -u github.com/jteeuwen/go-bindata/...

I did it. After that, I checked on $GOPATH/src/jteeuwen/go-bindata/ and there's a file go-bindata.a. It seems like it was installed, but it doesn't work:

$ go-bindata
-bash: go-bindata: command not found

Please, what am I doing wrong?

EDIT: I'm using OS X

You'll need to add $GOPATH/bin to your $PATH.

近期文章

  • 去切片-[:n]和[n:]之间的区别
  • 简洁地返回一个指向Go语言文字接口的指针
  • 使用cookie卷曲到Golang HTTP请求
  • Go的Docker远程API v1.24库?
  • Docker错误:卷指定了不存在的驱动程序内存
  • 强制Godep在SSH圈中通过SSH从github提取软件包
  • Golang练习片如何处理大价值
  • 了解命名返回类型的内存分配
  • 当被阻止的goroutine的RWMutex Unlock唤醒时
  • 关闭具有多个值的golang通道
  • Golang从字节解压缩gzip.Reader
  • Golang,nil指针取消引用或无效的内存地址
  • Go中的RPC是否具有某种缓存?
  • Golang-有效测试多个软件包
  • 无法在GO中将ResponseErrorWriter文字(类型ResponseErrorWriter)用作类型错误
  • 实例化结构和数组不会创建新的引用
  • 在结构上调用函数的正确的go习惯用法是什么?
  • Golang Facebook Graph API应用引擎
  • 声明Go服务器的ServeHTTP方法
  • Golang-无法在[]界面{}中访问地图

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华