{"modulePath":"github.com/kloudlite/api","version":"v1.1.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package test_data\n\n## Variables\n\n```go\nvar PkgPath = \"github.com/kloudlite/api/cmd/struct-json-path/test_data\"\n```\n\n```go\nvar Test10Input = \"Test10\"\n```\n\n```go\nvar Test10Output = map[string][]string{\n\t\"example\": {\n\t\t\"hello\",\n\t},\n\t\"Test10Example2\": {\n\t\t\"world\",\n\t},\n}\n```\n\n```go\nvar Test11Input = \"Test11\"\n```\n\n```go\nvar Test11Output = map[string][]string{\n\t\"id\": {},\n\t\"Test11Example\": {\n\t\t\"hello\",\n\t},\n}\n```\n\n```go\nvar Test12Input = \"Test12\"\n```\n\n```go\nvar Test12Output = map[string][]string{\n\t\"id\":        {},\n\t\"timestamp\": {},\n\t\"sample\": {\n\t\t\"timestamp\",\n\t},\n}\n```\n\n```go\nvar Test13Input = \"Test13\"\n```\n\n```go\nvar Test13Output = map[string][]string{\n\t\"id\":        {},\n\t\"timestamp\": {},\n\t\"sample\": {\n\t\t\"timestamp\",\n\t},\n}\n```\n\n```go\nvar Test14Input = \"Test14\"\n```\n\n```go\nvar Test14Output = map[string][]string{\n\t\"id\":      {},\n\t\"testStr\": {},\n\t\"sample\":  {},\n}\n```\n\n```go\nvar Test1Input = \"Test1\"\n```\n\n```go\nvar Test1Output = map[string][]string{\n\t\"Sample\": {},\n}\n```\n\n```go\nvar Test2Input = \"Test2\"\n```\n\n```go\nvar Test2Output = map[string][]string{\n\t\"sample\": {},\n}\n```\n\n```go\nvar Test3Input = \"Test3\"\n```\n\n```go\nvar Test3Output = map[string][]string{\n\t\"sample\":  {},\n\t\"Example\": {},\n}\n```\n\n```go\nvar Test4Input = \"Test4\"\n```\n\n```go\nvar Test4Output = map[string][]string{\n\t\"sample\": {},\n\t\"Example\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"ExampleC\",\n\t},\n}\n```\n\n```go\nvar Test5Input = \"Test5\"\n```\n\n```go\nvar Test5Output = map[string][]string{\n\t\"sample\": {},\n\t\"Example\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"ExampleC\",\n\t},\n\t\"example2\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"ExampleC\",\n\t},\n}\n```\n\n```go\nvar Test6Input = \"Test6\"\n```\n\n```go\nvar Test6Output = map[string][]string{\n\t\"sample\": {},\n\t\"Example\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"ExampleC\",\n\t},\n\t\"\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"ExampleC\",\n\t},\n}\n```\n\n```go\nvar Test7Input = \"Test7\"\n```\n\n```go\nvar Test7Output = map[string][]string{\n\t\"sample\": {},\n\t\"Example\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"ExampleC\",\n\t},\n\t\"\": {\n\t\t\"example-a\",\n\t\t\"example-b\",\n\t\t\"example-c\",\n\t\t\"example-d\",\n\t\t\"ExampleC\",\n\t},\n}\n```\n\n```go\nvar Test8Input = \"Test8\"\n```\n\n```go\nvar Test8Output = map[string][]string{\n\t\"example\": {\n\t\t\"hello\",\n\t\t\"world\",\n\t},\n}\n```\n\n```go\nvar Test9Input = \"Test9\"\n```\n\n```go\nvar Test9Output = map[string][]string{\n\t\"example\": {\n\t\t\"hello\",\n\t},\n}\n```\n\n## Types\n\n```go\ntype EmbeddedStruct struct {\n\tHi string `json:\"hi\"`\n}\n```\n\n```go\ntype InlineStruct struct {\n\tValue          string `json:\"value\"`\n\tEmbeddedStruct `json:\"embedded2\"`\n}\n```\n\n```go\ntype Sample struct {\n\tHello            string `json:\"hello\" asdfas:\"Asdfasdfa\"`\n\tcorev1.ConfigMap `json:\",inline\"`\n\tEmbedded         EmbeddedStruct `json:\"embedded\"`\n\tExample          string\n\tInline           InlineStruct `json:\",inline\"`\n}\n```\n\n```go\ntype Sample2 struct {\n\tHello         string `json:\"hello\" asdfas:\"Asdfasdfa\"`\n\tcorev1.Secret `json:\",inline\"`\n\tEmbedded      EmbeddedStruct `json:\"embedded\"`\n\tExample       string\n\tInline        InlineStruct `json:\",inline\"`\n}\n```\n\n```go\ntype Test1 struct {\n\tSample string\n}\n```\n\n```go\ntype Test10 struct {\n\tTest10Example `json:\"example\"`\n\tTest10Example2\n}\n```\n\n```go\ntype Test10Example struct {\n\tHello string `json:\"hello\"`\n}\n```\n\n```go\ntype Test10Example2 struct {\n\tWorld string `json:\"world\"`\n}\n```\n\n```go\ntype Test11 struct {\n\tId string `json:\"id\"`\n\tTest11Example\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype Test11Example struct {\n\tHello string `json:\"hello\"`\n}\n```\n\n```go\ntype Test12 struct {\n\tId string `json:\"id\"`\n\t//Timestamp time.Time `json:\"timestamp\"`\n\ttime.Time `json:\"timestamp\"`\n\tSample    Test12Sample `json:\"sample\"`\n}\n```\n\n```go\ntype Test12Sample struct {\n\tTimestamp time.Time `json:\"timestamp\"`\n}\n```\n\n```go\ntype Test13 struct {\n\tId string `json:\"id\"`\n\t//Timestamp time.Time `json:\"timestamp\"`\n\ttime.Time `json:\"timestamp\" struct-json-path:\",ignore-nesting\"`\n\tSample    Test13Sample `json:\"sample\"`\n}\n```\n\n```go\ntype Test13Sample struct {\n\tTimestamp time.Time `json:\"timestamp\" struct-json-path:\",ignore-nesting\"`\n}\n```\n\n```go\ntype Test14 struct {\n\tId      string          `json:\"id\"`\n\tTestStr Test14SampleStr `json:\"testStr\"`\n\tSample  *Test14Sample   `json:\"sample\" struct-json-path:\",ignore-nesting\"`\n}\n```\n\n```go\ntype Test14Sample struct {\n\tHello string `json:\"hello\"`\n}\n```\n\n```go\ntype Test14SampleStr string\n```\n\n```go\nconst (\n\tTest14SampleStrHello Test14SampleStr = \"hello\"\n\tTest14SampleStrWorld Test14SampleStr = \"world\"\n)\n```\n\n```go\ntype Test2 struct {\n\tSample string `json:\"sample\"`\n}\n```\n\n```go\ntype Test3 struct {\n\tSample  string `json:\"sample\"`\n\tExample string\n}\n```\n\n```go\ntype Test4 struct {\n\tSample  string `json:\"sample\"`\n\tExample struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t}\n}\n```\n\n```go\ntype Test5 struct {\n\tSample  string `json:\"sample\"`\n\tExample struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t}\n\tExample2 struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t} `json:\"example2\"`\n}\n```\n\n```go\ntype Test6 struct {\n\tSample  string `json:\"sample\"`\n\tExample struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t}\n\tExample2 struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t} `json:\",inline\"`\n}\n```\n\n```go\ntype Test7 struct {\n\tSample  string `json:\"sample\"`\n\tExample struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t}\n\tExample2 struct {\n\t\tExampleA string `json:\"example-a\"`\n\t\tExampleB string `json:\"example-b\"`\n\t\tExampleC string\n\t} `json:\",inline\"`\n\tExample3 struct {\n\t\tExampleA string `json:\"example-c\"`\n\t\tExampleB string `json:\"example-d\"`\n\t\tExampleC string\n\t} `json:\",inline\"`\n}\n```\n\n```go\ntype Test8 struct {\n\tExample Test8Example `json:\"example\"`\n}\n```\n\n```go\ntype Test8Example struct {\n\tHello string `json:\"hello\"`\n\tWorld string `json:\"world\"`\n}\n```\n\n```go\ntype Test9 struct {\n\tExample Test9Example `json:\"example\"`\n}\n```\n\n```go\ntype Test9Example struct {\n\tHello string `json:\"hello\"`\n\tWorld string `json:\"-\"`\n}\n```\n\n","path":"github.com/kloudlite/api/cmd/struct-json-path/test_data","name":"test_data","synopsis":"","isRedistributable":true}
