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

godep:exec:“执行”:在$ PATH中找不到可执行文件?

I am trying to run make run. But getting this. I do not know to how to set this.

You need to set the path variable to where your go package is installed. Typically on ubuntu is installed on the /bin folder. So in your case you have to set it to:

$ export PATH=$PATH:$GOPATH/bin

Check the documentation here: https://golang.org/doc/code.html

近期文章

  • 部署到Elastic Beanstalk时如何安装Go依赖项?
  • 如何在golang中获取当前主机的唯一标识符?
  • 确保嵌入式结构实现接口而不会引起歧义
  • 去字符串处理和JSON
  • 转到:未定义的类
  • go-使用继承渲染html / template
  • 计时器开销导致内存溢出
  • gorm忽略sql:“ index”标签
  • 在Golang中发出发布请求
  • golang gocql.NewCluster未定义没有字段或方法
  • 多个goroutine访问/修改列表/地图
  • 如何确定Go中的操作系统是32位还是64位?
  • 通过Go客户端API列出Openshift对象
  • “消费或放回” Go频道[重复]
  • 大猩猩工具包的无限重定向循环
  • 转到构建标签-在Windows上获取时间戳
  • 使用github.com/julienschmidt/httprouter在Golang中使用参数时提供静态CSS和Java脚本
  • 当init()函数之间存在依赖关系时,如何将程序包拆分为多个文件?
  • Web套接字上的Heroku H15错误关闭
  • FFmpeg:avcodec_find_encoder_by_name("libx264")返回空,是怎么回事呢?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华