Search Gear Notes

Search Gear #18 – Anonymous Functions and Closures

Now, I also need a function to process wildcards out of hashtags maybe creating multiple requests from a single tag. Let’s go with anonymous functions and closures, which in flirted with on day 7, what seems like years ago now! func getItem(entries toml.Value) func() string { i := -1 return func() string { i…


Search Gear Notes

Search Gear #17 – TEST the TWITTER COLLECTOR

First run Starts at: Wed Aug 27 03:44:15 +0000 2014 Ends at: Wed Aug 27 07:49:42 +0000 2014 19 records at 09:21 August 27th 2014 Removed file.Sync() after each tweet is written to ‘disk’ (buffer I expect) which makes things much quicker. Second run Starts at: Wed Aug 27 10:33:48 +0000 2014 Ends at: Wed…

Search Gear Notes

Search Gear #15 – Half Way – Interfaces

I’m half way through my 30 days of code, it wont all be contiguous but I hope the 30 day sprint will get me much further forward with go. Then it will be back to a day a week of gophering. My third week of gophering suggests that if you don’t know about interfaces then…