Feat: login done
This commit is contained in:
8
types/errors.go
Normal file
8
types/errors.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package types
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
UsernameConflictError = errors.New("username conflict")
|
||||
RouteNotExistError = errors.New("route not exist")
|
||||
)
|
||||
8
types/types.go
Normal file
8
types/types.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package types
|
||||
|
||||
import "time"
|
||||
|
||||
type (
|
||||
TickMsg time.Time
|
||||
User string
|
||||
)
|
||||
Reference in New Issue
Block a user