Make this file executable and add it to your path
grco [some-text]
| type JSONContainer struct { | |
| data []interface{} | |
| } | |
| func (j *JSONContainer) All() (objects []JSONObject) { | |
| for _, v := range j.data { | |
| objects = append(objects, JSONObject{data: v}) | |
| } | |
| return | |
| } | 
| # From a fresh install of squeeze | |
| test "$DEBUG" && set -x | |
| set -ue | |
| if test "$1"; then | |
| SOURCE_VERSION="$1" | |
| else | |
| SOURCE_VERSION="1.9.3-p286" | |
| fi |