breml / logstash-config

logstash-config provides a parser and abstract syntax tree (AST) for the Logstash config format, written in Go
Apache License 2.0
40 stars 10 forks source link

Initial attempt at checking for duplicate IDs #13

Closed nicolasreich closed 2 years ago

nicolasreich commented 2 years ago

Hi @breml, I'm here too!

I think it would be a useful feature to be able to check for duplicate IDs in files, so here's an attempt at integrating that into mustache. I'm currently learning Go, so please pardon any non-go-isms and obvious mistakes. Let me know what you think and if I need to change anything to be more consistent with the rest of the project.

nicolasreich commented 2 years ago

@breml thanks a lot for the suggestions! I applied the suggested changes :-)