Commit Graph

16 Commits

Author SHA1 Message Date
Saxon1 cdde22b2d6 Removed sizeChannel field 2017-12-04 12:54:01 +10:30
Saxon Milton 7387792f73 fix an error and ran go fmt 2017-12-03 20:07:45 +10:30
Saxon Milton 7da19e1f89 Corrected syntax error in RingBuffer and also improved testing file. 2017-12-03 20:05:46 +10:30
Saxon Milton 3a5a9f51fc Fixed some var names 2017-12-03 19:44:24 +10:30
Saxon Milton 89b4468f6c used size ring buffer rather than channel 2017-12-03 19:13:29 +10:30
Saxon Milton 1b6a2ae8ea Changed things such that the access to the ringBuffer struct is private, i.e. it is required that the constructor be used to obtain access to an object of this type. I have also edited the test file such that it abides by the new code. 2017-12-03 18:07:15 +10:30
Saxon1 df64b89587 currently creating constructor for RingBuffer 2017-12-03 09:31:19 +10:30
Saxon1 091c740cd5 Fixed case of RingBuffer fields 2017-12-03 09:17:08 +10:30
Saxon1 a5e5271082 Fixed alot of comments 2017-12-03 09:11:48 +10:30
Saxon1 e4a9a98b9c used error function instead of directly printing 2017-12-03 09:05:22 +10:30
Saxon1 eb766844bb Fixed another spelling mistake in a comment 2017-12-03 09:01:51 +10:30
Saxon1 41355c2034 Fixed some weird replace all mistake 2017-12-03 09:01:00 +10:30
Saxon1 ee0d8b4b1d Fixed spelling mistake in comment 2017-12-03 08:58:44 +10:30
Saxon1 a4f1b16ff1 renamed noOfElements to NoOfElements 2017-12-03 08:53:50 +10:30
Saxon1 edd663d048 Fixed copyright stuff 2017-12-03 08:51:02 +10:30
Saxon Milton d9e9d23dbe Added ringbuffer files 2017-12-02 15:54:34 +10:30