You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not something that exists today. This sort of workflow makes sense to me in principle, but even in simple cases it's not entirely clear what the correct behavior would be. See #46 for more general discussion on this topic.
Thank you.
I get the problem, I think in those cases where it could work would be something = value instead of idk something = (variable + 5).
I mean there could be a option using struct tags. It would definitely increase the complexity and I'm not sure if this would work for all use cases. Was just something that came straight into my head.
Question
Is there a way to create a pkl file with a struct?
Context
I would like to create a default configuration file from a struct if my application runs for the first time.
Example?
From the stdlib there is a possibility to create json file out of a struct
json.MarshalIndent(defaultCfg, "", " ")
.The text was updated successfully, but these errors were encountered: