mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-23 03:44:57 +00:00
Update pipeline
And commit half-baked code restructure
This commit is contained in:
parent
5d67b2e2b0
commit
2e5f4bce11
11 changed files with 32 additions and 59 deletions
10
internal/err/err.go
Normal file
10
internal/err/err.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package err
|
||||
|
||||
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