We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func ScanProperties(content string) (map[string]string, error) { result := map[string]string{} props, err := properties.Load([]byte(content), properties.ISO_8859_1) if err != nil { return result, err } for _, each := range props.Keys() { result[each], _ = props.Get(each) } return result, nil }
the result contains an empty string as key. I did not expect this.
The text was updated successfully, but these errors were encountered:
Issue #1: Fixed that Keys() returns an empty key.
10c5930
Correct. Fixed in v1.4.1
Sorry, something went wrong.
No branches or pull requests
the result contains an empty string as key.
I did not expect this.
The text was updated successfully, but these errors were encountered: