code: func CurrentUser(c context.Context) *User {
  	if s := GetState(c); s != nil {
  		return s.User()
  	}
  	return &User{Identity: identity.AnonymousIdentity}
  }
docs: // CurrentUser represents the current caller.
  //
  // Shortcut for GetState(c).User(). Returns user with AnonymousIdentity if
  // the context doesn't have State.