Talking about the package above, the complete code is like 4 lines. Is it really better for me to just write such code directly or go though the added burden of importing a separate package like this into my application. Since I may need maintain such package later (if the developer stops maintaining it.
What are your thoughts?
Smile over my errors. I'm still learning :)