CHANGE: added autoLogout to Doc + json in struct

This commit is contained in:
2024-09-25 13:18:54 +02:00
parent 3f5f82a304
commit ea364c8898
4 changed files with 130 additions and 14 deletions

View File

@@ -5,10 +5,10 @@ import (
)
type User struct {
CardUID string
Name string
Vorname string
HauptbeschaeftigungsOrt int8
CardUID string `json:"card_uid"`
Name string `json:"name"`
Vorname string `json:"vorname"`
HauptbeschaeftigungsOrt int8 `json:"hauptbeschaeftigungsort"`
}
func (u *User) GetAll() ([]User, error) {