We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Tables keys are not quoted.
To Reproduce
type sub struct { Num int } type s struct { SubField sub `toml:"%%%"` } t, _ := toml.Marshal(s{sub{0}}) fmt.Println(string(t))
Output:
[%%%] Num = 0
Expected behavior Expected output:
["%%%"] Num = 0
Versions
Additional context None.
The text was updated successfully, but these errors were encountered:
Fix various quoted keys bugs (#400)
19eb8cf
Fixes #396 #397 #398 #399
Successfully merging a pull request may close this issue.
Describe the bug
Tables keys are not quoted.
To Reproduce
Output:
Expected behavior
Expected output:
Versions
Additional context
None.
The text was updated successfully, but these errors were encountered: