Tuesday, October 23, 2012

nrsc - Resource Compiler

IMO one of the nicest things in Go is the "single executable deployment". However this breaks down when you have some templates, css files, ...

For this I created nrsc, it's a resource compiler that will compile your resources to a local nrsc package which you can include in your project. Building your project after running nrsc will embed all the resource in the executable.

To install nrsc just run go get bitbucket.org/tebeka/nrsc

Here's an example on how to use nrsc in your code:

No comments:

Post a Comment

/* MIKI: Analytics */