You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.
Right now, command lookup is just a series of if (command == "..."), etc.
Create a directory containing multiple .go files that will do the actual handling of the commands, to make it more modular, and replace the if (...) checks with a map[string]:func(...) or similar, as you prefer.
The text was updated successfully, but these errors were encountered:
Right now, command lookup is just a series of if (command == "..."), etc.
Create a directory containing multiple .go files that will do the actual handling of the commands, to make it more modular, and replace the if (...) checks with a map[string]:func(...) or similar, as you prefer.
The text was updated successfully, but these errors were encountered: