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

使用带有go模块的分叉github项目

I'm using go1.11, which supports go module.

If I forked a GitHub repo, say github/a/one, to github/b/one, and do not want to update the import path in the source code, what is the suggested workflow with the forked repo?

A replace directive can replace github/a/one to local path but it fails with internal package. Does anyone solve the issue with internal package?

近期文章

  • 使用CGO开发结构链代码
  • 如何从弹性搜索中获取指标中的特定字段
  • Phantomgo并在GoLang中设置cookie
  • 如何使用goroutines解码XML
  • Kubernetes集群完成的工作不稳定; 填充有“ http2:无可用的高速缓存的连接”的kubelet日志
  • 如何使用vscode调试go 1.11.x
  • firestore阵列包含无法在golang中使用的查询
  • 如何在grpc go中实现非阻塞客户端?
  • 无需使用http.Serve即可激活Go TLS套接字服务器服务
  • 构建使用zserge / webview的go代码时如何修复CLSID,IID错误
  • mongodb获取最近30分钟前插入的项目
  • 托管API服务器以点击Big Query并显示在网页上
  • Golang fsnotify在Windows上为同一文件发送多个事件
  • 如何在微服务架构中管理MySQL连接
  • 使用编码为multipart / form-data的数据处理POST请求
  • 如何将包包含在main.go中的本地目录中
  • UIScrollview大尺寸内容
  • 无法在基于Windows Server(RDP)的GoLang上从其他设备运行API
  • 在具有非常规目录结构的同一页面上提供HTML模板和CSS?
  • 查询Firestore阵列

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华