refactor, go work

This commit is contained in:
ctengiz
2024-03-25 11:30:06 +03:00
parent e78ff14861
commit 1f62906e95
47 changed files with 40 additions and 241 deletions

13
app/loginService.go Normal file
View File

@@ -0,0 +1,13 @@
package app
type LoginUser struct {
UserName string
password string
Token string
LoggedIn bool
}
type LoginService struct{}
func (g *LoginService) Login(userName string, password string) LoginUser {
return LoginUser{password: password, UserName: userName, Token: "test", LoggedIn: true}
}