Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 806 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 806 Bytes

chatty

To run the server:

  • In the root directory: go build

To run the client:

  • In ./tool/chatty-cli : go build

The server runs on port :8081

TODO: create a docker image so it can run on any port

I did not vendor the tests: if you want to run them install ginkgo and testify/mocks and run go test

go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
go get go get github.com/stretchr/testify

TODO: more negative test cases

TODO: better url parsing

TODO: refine @mentions to not mistakenly parse emails

TODO: reverse lookup of emoticons ??? FUTURE FEATURE MAYBE?

I used goagen to set up my server and clients because it allows me to focus less on wiring and more on writing the stuff that I actually care about, which is why there is so many deps in this package.