Beginner go wrote a simple chat room
Opening
Last week, I wanted to get started with Go, and I learned more about the course of Xuejun. By the way, I read the document a little, but it was really a bit hard to write something. I just wrote a simple chat room. Front end templates are the most famous stunt Ctrl+C
and Ctrl+V
。 js
I can write, vue
I can also write, but css
Let's forget it.
Note: This project is based on chitchat Extended development. It is suitable for beginners to learn go. The business is simple, the logic is simple, and the code will be optimized later.
Demo Address
Online experience address
You can register users yourself or use the following
- user name curry@qq.com Password 123456
- User name test (from 1 to 9) @qq.com Password 123456
Application deployment
Github address: chat room 。 If it helps you, give it to a star ❤️
It's just very simple nginx
A reverse proxy has been created through Supervisor
Maintain application daemons for subsequent learning docker
This project will be used docker
Deployment. Ps. Use whatever you learn
Main functional modules
Other codes can be viewed by yourself.