# go-env-path **Repository Path**: bzsometest/go-env-path ## Basic Information - **Project Name**: go-env-path - **Description**: 检测go运行状态,获取运行目录 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-24 - **Last Updated**: 2024-10-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-env-path 解决go开发过程中获取当前项目目录,运行时程序所在目录等问题 ```shell go mod tidy SET CGO_ENABLED=0 SET GOOS=linux SET GOARCH=arm64 go build ``` ## 判断运行方式 https://github.com/golang-infrastructure/go-how-run https://zhuanlan.zhihu.com/p/363714760