CLEAN UP THE CODE AGAIN RAAAAAAAAAAH

This commit is contained in:
Michał Gdula 2025-05-08 20:33:47 +01:00
parent fbb0b61556
commit 972e1371fd
10 changed files with 137 additions and 188 deletions

10
internal/errors/errors.go Normal file
View file

@ -0,0 +1,10 @@
package errors
type Error struct {
Msg string
Err error
}
func (e *Error) Ok() bool {
return e.Err == nil
}