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

Formattag modifying env-delim struct value #9

Open
chodyo opened this issue Aug 9, 2023 · 0 comments
Open

Formattag modifying env-delim struct value #9

chodyo opened this issue Aug 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@chodyo
Copy link

chodyo commented Aug 9, 2023

Formattag is deleting commas out from struct tags. Tried it with a few different punctuation marks and it only seems to delete lone commas.

Before formattag:

type options struct {
	s []string `env-delim:","`
}

After formattag:

type options struct {
	s []string `env-delim:""`
}
@momaek momaek added the bug Something isn't working label Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants