gotools/formatting/cmd/path2tree/examples.go

34 lines
953 B
Go
Raw Normal View History

2018-12-19 14:45:37 +01:00
package main
var defaultInput1 = map[string]string{
"/a/test/path": "doc 1",
"/a/test/otherpath": "doc 2",
"/a/test/paz": "doc 3",
"/a/tester/path1/sub": "doc b1",
"/a/tester/path2": "doc b2",
"/a/tester/path3/s2/s3": "doc b3",
}
var defaultInput2 = map[string]string{
"/this/level1/sub2/term": "1",
"/this/level2/sub1/term": "doc 2",
"/this/level2/sub2/term": "doc 3",
"/that/level1/sub2/term1": "doc 4",
"/that/level1/sub2/term2": "doc 5",
"/that/level1/sub2/term3": "doc 6",
"/those1/level1/sub2/term": "doc 7",
"/those2/level1/sub2/term": "doc 8",
"/those3/level1/sub2/term": "doc 9",
"/those4/level1/sub2/term": "doc 10",
"/those/level1/sub2/term": "doc 11",
"/those/level1/sub3/term": "doc 12",
"/those/level1/sub2/term4": "doc 13",
"/those/level0/sub4/term": "doc 14",
"/those/level2/sub2/term": "doc 15",
}
var examples = []map[string]string{
defaultInput1,
defaultInput2,
}