Written in GO
To build the project, GO will need to be installed and configured correctly. It is recommended to use the latest 1.x version.
git clone [email protected]:Krayons/twitterclone.git
cd twitterclone/cmd
go build *.go
./texttwitter
./texttwitter -h
Usage of ./texttwitter:
-tweets string
file location of the tweets file (default "./tweets.txt")
-users string
file location of the users file (default "./users.txt")
Assumptions:
- Textfile for users and tweets can fit in memory.
- Usernames are ascii and are only valid is they are contain only A-Z,a-z,0-9
- If the user's file has a single user multiple times only the latest one will be assumed correct