mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-06-29 05:16:18 +00:00
CLEAN UP THE CODE AGAIN RAAAAAAAAAAH
This commit is contained in:
parent
fbb0b61556
commit
972e1371fd
10 changed files with 137 additions and 188 deletions
10
internal/errors/errors.go
Normal file
10
internal/errors/errors.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package errors
|
||||
|
||||
type Error struct {
|
||||
Msg string
|
||||
Err error
|
||||
}
|
||||
|
||||
func (e *Error) Ok() bool {
|
||||
return e.Err == nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue