4 ms·
What's the algorithm? If I use "abc" or "aaa" it prints "is not a shit pkg name".
by thefox 12y ago
What's the algorithm? If I use "abc" or "aaa" it prints "is not a shit pkg name".
- AYBABTME 12y agoThe algorithm is very simple and not meant to be exhaustive or correct. You can see how the filters for validation are done: https://github.com/aybabtme/pkgname/blob/master/filters.go https://github.com/aybabtme/pkgname/blob/master/filters.go Overall, this project is meant as joke/smoke test, not a canonical reference. It was pretty fun to build =)