hashicorp/consul-template — pull request #44 by williambailey (2014-11-01 22:46:09+00:00)
Title: Add byTag template function.

Adds a `byTag` template function that accepts a `[]*Service` and returns a `map[string][]*Service` where the map key is the service tag.

An implementation of my suggestion to an alternative solution to #33.