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

'GoDep'不被识别为内部或外部命令

I am trying to deploy my Go App on heroku, for which I am using Godep as build pack. After installing godep using the command

go get github.com/tools/godep

when I try to run

godep save

I am getting the error which states that 'godep' is not recognised as an internal or external command.

Below is my env variables.

enter image description here

Can someone please point out where I am going wrong ?

Setting the GOBIN value in the environment variables fixed the issue.

enter image description here

近期文章

  • 如何将文件上传到S3存储桶/目录
  • Golang-无法将数字解组为字符串类型的Go值
  • Golang&(*(&v))语义
  • 如何获取函数中参数的类型
  • Go中的append()是否按摊销固定时间运行? [重复]
  • 用Cookie创建一个计数器
  • 快速方式按距离搜索数百万个坐标
  • 优化离开堆分配
  • 如何在Golang中复制结构?
  • cURL可以工作,但是Go sebserver的其余所有客户端都没有
  • Golang中的xml解析(我想分别访问详细信息中的每个元素)
  • Golang:删除除|以外的所有字符 来自字符串[关闭]
  • 直接调用与Python子流程时,GOPATH的解释不同
  • Go子包功能未正确导入
  • 有没有一种方法可以计算对sql.Exec的每次调用?
  • 在Docker容器中启动golang Web服务器
  • 带有i ++不一致添加的Golang for循环
  • 如何在Go中将字节数组转换为字符串
  • Go中令人尴尬的并行任务的惯用解决方案是什么?
  • 在Go中模拟Hashicorp保险库

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华