Add Random function to template functions
authorAntti Järvinen <antti.jarvinen@alupark.fi>
Sun, 6 Dec 2015 10:28:03 +0000 (12:28 +0200)
committerSteve Francia <steve.francia@gmail.com>
Mon, 4 Jan 2016 16:38:57 +0000 (11:38 -0500)
commit302a6ac701bc2599d4ca98c7d263d364505a3980
treea2f11ed9757c3e0cbf77d7fa88b49c92bda81b35
parentb1f2b433bc4ec520df81c04493e8e1634293c8e7
Add Random function to template functions

Adds Random function to pick N random items from sequence.
tpl/template_funcs.go
tpl/template_funcs_test.go