# GoIM **Repository Path**: xuthus5/GoIM ## Basic Information - **Project Name**: GoIM - **Description**: golang基于websocket实现的的在线聊天室 - **Primary Language**: Go - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2018-11-12 - **Last Updated**: 2021-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # golang基于websocket实现的的在线聊天室 > GoIM是一款基于websocket实现的的在线聊天室程序 + [演示](http://xblogs.cn:8000) ## 如何使用 > 本应用基于golang语言的[beego框架](https://beego.me/)开发,在确保安装了golang环境的条件下,执行如下命令 ```bash go get github.com/astaxie/beego go get github.com/beego/bee go get github.com/gorilla/websocket go get github.com/jmoiron/sqlx go get github.com/mattn/go-sqlite3 ``` > 安装完以上库,克隆仓库到机器上 ```shell cd $GOPATH/src/ git clone https://gitee.com/xuthus5/GoIM.git cd GoIM ``` > 编译运行,两种方法 建议使用方法二 ``` #运行方法一 go run main.go #运行方法二 bee run ``` ## 关于数据库与配置文件 数据库使用sqlite3,无需配置,编译运行程序即可使用,项目运行起来后,访问 http://domain 默认提供账号密码 admin/admin ## 效果演示 ![首页](http://dl.xuthus.cc/goim-index.png) ![登陆](http://dl.xuthus.cc/goim-login.png)