Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

v0.3.0 #22

Merged
merged 12 commits into from
Jun 9, 2024
Merged

v0.3.0 #22

merged 12 commits into from
Jun 9, 2024

Conversation

@hrszpuk hrszpuk added bug Something isn't working enhancement New feature or request labels Jun 9, 2024
@hrszpuk hrszpuk self-assigned this Jun 9, 2024
Copy link
Owner Author

@hrszpuk hrszpuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far

@@ -14,9 +15,18 @@ write_to_string :: proc(c: ^Config) -> string {
for key, value in c.keys {
if value.keys != nil {
strings.write_string(&sections, "\n[")
strings.write_string(&sections, value.value)
if prefix {
section_head := fmt.aprintf("%s.%s", c.value, value.value)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could do with some comments here as the complexity is quite high but other than that I think it looks fine.

Copy link
Owner Author

@hrszpuk hrszpuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hrszpuk hrszpuk merged commit 673870b into main Jun 9, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant