2 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for vegaseat

Reading the content of a web page with a given URL is pretty simple with Go. Here we defer the closing of the response body (at an early point, so we won't later forget) until the program exits.

0
22K
Member Avatar for cereal

Hi! *Minimize HTTP requests*. One of the suggestion I always read is to combine files, so I made a little Class that merges files on the fly, the supported formats are CSS and Javascript. With little efforts, I think, it can work fine also with JSON and CSV. Usage is …

Member Avatar for cereal
1
331

The End.