We needed a way to generate PDF documents from Go. These vary from invoices with highly customizable layouts to reports with tables, graphs and images. In our opinion, the best way to do this was by using HTML/CSS templates as a source for our PDFs. Using CSS print media types and millimeters instead of pixel units we can generate very accurate PDF documents using wkhtmltopdf. It takes care of setting the correct order of options as these can become very long with multiple pages where you...
An express generator for Yeoman, based on the express command line
An express-generator for Yeoman, based on the express command line tool. Make sure you have yo installed: npm install -g yo. Install the generator globally: npm install -g generator-express. Run: yo express and select Basic. Add --coffee if you require CoffeeScript. Run: grunt or gulp to run the local server at localhost:3000, the grunt/gulp tasks include live reloading for views, css in public/css and restarting the server for changes to app.js or js in routes/. ...