feat: some safety checks

This commit is contained in:
rony5394
2026-04-18 16:35:45 +02:00
parent d0d5168fd2
commit 87d8388810
4 changed files with 50 additions and 7 deletions

12
main.go
View File

@@ -8,6 +8,18 @@ import (
"log/slog"
);
/*
If the exit code is X then it means Y:
| X | Y |
|----|------------------------------------------------------------------------------------------|
| 0 | Everything should be good, normal exit. |
| 1 | Some common error, but that still mean it is going to crash. |
| 3 | Ask yourself if you are not using dev version in prod. If not then spam the developer. |
| 42 | WHAT THE ACTUAL ***** IS HAPPENING. or assume something is very wrong in the app itself. |
| 69 | [INSERT HERE] |
*/
func main() {
if(len(os.Args) < 2){
panic("Usage: blazena <mode>");