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

use config.yml for configuration #770

Closed
hvlxh opened this issue May 23, 2023 · 4 comments
Closed

use config.yml for configuration #770

hvlxh opened this issue May 23, 2023 · 4 comments

Comments

@hvlxh
Copy link

hvlxh commented May 23, 2023

its better and easier to write and read than toml.

@AndreasHGK
Copy link
Contributor

AndreasHGK commented May 23, 2023

This is something pretty subjective, most might not agree.

If you prefer YAML, you can swap out the TOML library for something like go-yaml/yaml in your main.go file (or wherever you read config files in your code).

@hvlxh
Copy link
Author

hvlxh commented May 23, 2023

yes i know we can change swap to yaml by changing stuffs in main.go but its good to use yaml defautly

@didntpot
Copy link
Contributor

This is something pretty subjective, most might not agree.

If you prefer YAML, you can swap out the TOML library for something like go-yaml/yaml in your main.go file (or wherever you read config files in your code).

@hvlxh

@hvlxh hvlxh closed this as completed May 23, 2023
@xKaOz
Copy link

xKaOz commented May 23, 2023

Looololoollolll

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

4 participants