# chat-go **Repository Path**: humengxu/chat-go ## Basic Information - **Project Name**: chat-go - **Description**: chat 使用go语言实现 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-03 - **Last Updated**: 2022-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 安装方法 ## 1.参考地址 ```bash git clone https://git.imooc.com/coding-339/chat.git ``` ## 2.项目配置 建议采用goland IDE ADD Configuration->左上角+->go build类型 右侧填写 files :{你的项目路径}/hellox.x/main.go workdir:{你的项目路径}/hellox.x/ 将asset目录复制到对应项目下 如将asset复制到hellox.x下 ## 3.依赖包安装 本项目依赖`x/net`,`x/time`包可能会被墙,使用如下指令可以安装 ```bash $mkdir -p $GOPATH/src/golang.org/x/ $cd $GOPATH/src/golang.org/x/ $git clone https://github.com/golang/net.git net $git clone https://github.com/golang/time.git time ``` 其他包依赖 ```bash go get github.com/go-xorm/xorm go get github.com/gorilla/websocket go get gopkg.in/fatih/set.v0 go get github.com/go-xorm/xorm ```