OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package user | |
6 | |
7 import "google.golang.org/appengine/user" | |
8 | |
9 // User is a mimic of https://godoc.org/google.golang.org/appengine/user#User | |
10 // | |
11 // It's provided here for convenience, and is compile-time checked to be | |
12 // identical. | |
13 type User struct { | |
14 Email string | |
15 AuthDomain string | |
16 Admin bool | |
17 ID string | |
18 ClientID string | |
19 FederatedIdentity string | |
20 FederatedProvider string | |
21 } | |
22 | |
23 var _ User = (User)(user.User{}) | |
Vadim Sh.
2015/12/03 00:55:56
o_O didn't know it works that way
iannucci
2015/12/03 01:00:24
All public fields with matching names and types ==
| |
OLD | NEW |