Skip to content
New issue

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

funcs return errors now to be handled in main #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lapubell
Copy link

Totally a matter of opinion here, but handing errors back from various functions will make it easier to read main and figure out where the issues could arise. I also have the error messages pushed to stdError instead of stdOut, and all os.Exit calls are now in main, so that if we ever decide to handle these errors in a single way, it'd be a much smaller refactor.

Cool project!

@lapubell lapubell requested a review from 4r7if3x as a code owner August 19, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant