/go-chat

Telnet chat server implementation in Golang

Primary LanguageGoApache License 2.0Apache-2.0

GO-Chat!

Telnet chat server in Golang

Project is build using Golang standard project layout taken from here.

List of all planned and existing functionalities

  • CLI with help
  • Telnet server:
    • Base server
  • Chat:
    • Base chat
    • Support for rooms

List of used libraries

  • cli to build nice cli
  • logrus for logging
  • yaml for configuration file

Problems which I had to solve

  • Golang - it was my first project in that language Understanding embedding
  • Coding standard, programming in Golang, a structural language is completely different that coding in OOP like Python
  • (docs). All Telnet
  • commands should self register itself for easiness of future development. Init was super helpful to achieve that (docs).
  • I'm completely not used to use interfaces so I struggled dramatically with naming convention