Twitter Text Display Clone
Written in GO
Building
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 git@github.com:Krayons/twitterclone.git
cd twitterclone/cmd
go build *.go
./texttwitter
Usage
./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")
Example
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