diff options
Diffstat (limited to 'walk/walk.go')
-rw-r--r-- | walk/walk.go | 4 |
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...) +} |