Is This a Bug or Something Went Wrong? (Nested Array using v2) #671
-
For TOML code that has array of data structure: [Build]
Name = "publication build"
[[Build.Dependencies]]
Name = "command"
Program = "hugo" And a Go structure: type _tomlJob struct {
Dependencies []map[string]interface{}
}
type TOMLParser struct {
Build *_tomlJob
} Parsing Structure:
I got a parsing panic as follows:
If I change Is this expected? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Same issue even with initialized structure:
|
Beta Was this translation helpful? Give feedback.
-
Hi! From what I can tell your code should work. This seems like a bug. |
Beta Was this translation helpful? Give feedback.
Hi! From what I can tell your code should work. This seems like a bug.