Simplified Full Example

This commit is contained in:
Samuel Lorch 2021-08-30 18:51:04 +02:00
parent 547d0c4ca8
commit b047c9c647

View file

@ -299,12 +299,7 @@ func main() {
panic("Cannot Find Test User")
}
me, err := client.GetMe(ctx)
if err != nil {
panic(err)
}
if me.ID == users[0].ID {
if client.GetUserID() == users[0].ID {
fmt.Println("I am the Test User, No Need to Share Password With myself")
return
}