Skip to content
New issue

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

Support TOML format for parameters #122

Closed
rcoreilly opened this issue Jul 4, 2023 · 1 comment
Closed

Support TOML format for parameters #122

rcoreilly opened this issue Jul 4, 2023 · 1 comment

Comments

@rcoreilly
Copy link
Member

TOML is much cleaner & human friendly than the go native literal initializer or json -- can just put a big string in code and read from that instead of the literal initializer, and /or read from files.

@rcoreilly
Copy link
Member Author

It works great as a file format, where you get nice highlighting and formatting help from the editor -- but not so great as a string blob in a .go file, where you don't. Anyway, now available at any level for read / write.

had to change top-level Sets to be a map instead of an array, because toml doesn't marshal top-level arrays... This requires a stuttering addition of Set name in map initializers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant