api

Functional Options for testing without mocks in Golang

Permalink 3 minute read Modified: (Rohan Verma)

Suppose you have a HTTP request to be sent but don’t care about the result or errors. This request is sent through a function which is usually called inside a goroutine and is not in any way a core aspect of your main logic. The only important part is forming the actual request and the payload. When you wrote this function, you did not write tests as it would be a pain to make the function return something and check it.

SNU Datalimit Chrome Extension

Permalink 1 minute read Modified: (rhnvrm)

I developed a chrome extension to track usage. You can view the code on GitHub

Foodify App – HackNSIT 2016

Permalink 3 minute read Modified: (rhnvrm)

HackNSIT is a 24 hour hackathon that took place at Netaji Subhash Institute of Technology, and had around 150 participants from all over India. The themes of the hackathon were diverse and we chose to build an app that can solve the problem of tracking the nutritional value of whatever you eat with just a simple snap. The app processes the image of a food item, retrieves nutritional content and also suggests recipes based on your daily calorie limit/goal.