# freechat-im **Repository Path**: goddesszz/freechat-im ## Basic Information - **Project Name**: freechat-im - **Description**: 我的聊天应用的基础模块 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-15 - **Last Updated**: 2026-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # freechat-im #### 介绍 #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 ###### 编译proto文件的命令 ``` protoc --proto_path=你的proto文件目录 --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative chat.proto ``` ###### 为 Linux 系统打包 GOOS=linux GOARCH=amd64 go build -o freechat-im main.go 执行命令:`set GOOS=linux & set GOARCH=amd64 & go build -o build/freechat-im main.go` ###### 为 Windows 系统打包 GOOS=windows GOARCH=amd64 go build -o freechat-im.exe main.go cmd执行命令:`$env:GOOS = "windows"; $env:GOARCH = "amd64"; go build -o build/freechat-im.exe main.go` ###### 启动命令 `set env=dev & freechat-im.exe` ###### 运行执行文件前设置env变量: `set env=dev & freechat-im.exe` 环境变量参数有: env=dev/uat mode=single/cluster #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)