CHANGE: added autoLogout to Doc + json in struct
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user