File: mock.hcl

package info (click to toggle)
golang-github-knadh-koanf 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 808 kB
  • sloc: sh: 31; makefile: 14
file content (59 lines) | stat: -rw-r--r-- 981 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
"bools" = [true, false, true]
"empty" = {}
"intbools" = [1, 0, 1]
"orphan" = ["red", "blue", "orange"]
"parent1" = {
  "boolmap" = {
    "notok3" = false
    "ok1" = true
    "ok2" = true
  }
  "child1" = {
    "empty" = {}
    "grandchild1" = {
      "ids" = [1, 2, 3]
      "on" = true
    }
    "name" = "child1"
    "type" = "hcl"
  }
  "floatmap" = {
    "key1" = 1.1
    "key2" = 1.2
    "key3" = 1.3
  }
  "id" = 1234
  "intmap" = {
    "key1" = 1
    "key2" = 1
    "key3" = 1
  }
  "name" = "parent1"
  "strmap" = {
    "key1" = "val1"
    "key2" = "val2"
    "key3" = "val3"
  }
  "strsmap" = {
    "key1" = ["val1", "val2", "val3"]
    "key2" = ["val4", "val5"]
  }
}
"parent2" = {
  "child2" = {
    "empty" = {}
    "grandchild2" = {
      "ids" = [4, 5, 6]
      "on" = true
    }
    "name" = "child2"
  }
  "id" = 5678
  "name" = "parent2"
}
"strbool" = "1"
"strbools" = ["1", "t", "f"]
"time" = "2019-01-01"
"duration" = "3s"
"negative_int" = -1234
"type" = "hcl"