hacktivist123 / goignore

A lightweight CLI tool for generating .gitignore file in your project. Built with Go and ❤️
MIT License
29 stars 6 forks source link

Improve language detection code and add new gitignore files #4

Closed quamejnr closed 1 year ago

quamejnr commented 1 year ago

What is this?

This is a an improved way of language detection function

Why this?

This ensures addition of more supported languages does not lead to modification of detectLanguage and getSupportedLanguages functions and new introduction of if else statements

How are you doing this?