<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/walk
diff options
context:
space:
mode:
Diffstat (limited to 'walk')
-rw-r--r--walk/walk.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/walk/walk.go b/walk/walk.go
index 30bfb29..a9b40b7 100644
--- a/walk/walk.go
+++ b/walk/walk.go
@@ -373,3 +373,7 @@ func JsonOut(in chan WalkItem) {
}
fmt.Print("\n")
}
+
+func ConcatData(first []Datum, second []Datum) []Datum {
+ return append(append([]Datum(nil), first...), second...)
+}