Ai
1 Star 0 Fork 0

Huoty/golangstudy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.sh 422 Bytes
一键复制 编辑 原始数据 按行查看 历史
Huoty 提交于 2024-12-08 23:34 +08:00 . update at 20241208233434
#! /bin/bash
# Author: Huoty <sudohuoty@163.com>
# CreateTime: 2021-01-04 15:21:51
# Script starts from here:
CURRENT_DIR=`pwd`
OLD_GO_PATH="$GOPATH" # 例如: /usr/local/go
OLD_GO_BIN="$GOBIN" # 例如: /usr/local/go/bin
export GOPATH="$CURRENT_DIR"
export GOBIN="$CURRENT_DIR/bin"
#指定并整理当前的源码路径
gofmt -w src
go install test_hello
export GOPATH="$OLD_GO_PATH"
export GOBIN="$OLD_GO_BIN"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/konghy/golangstudy.git
git@gitee.com:konghy/golangstudy.git
konghy
golangstudy
golangstudy
master

搜索帮助