SetUser sets the authenticated user identity on the CLIAnalyticsEventContext object
(userID, email, name string)
| 210 | |
| 211 | // SetUser sets the authenticated user identity on the CLIAnalyticsEventContext object |
| 212 | func (e *CLIAnalyticsEventMetadata) SetUser(userID, email, name string) { |
| 213 | e.UserID = userID |
| 214 | e.Email = email |
| 215 | e.Name = name |
| 216 | } |
| 217 | |
| 218 | // Identify tracks the user with the provided properties |
| 219 | func (a *AnalyticsTelemetryClient) Identify(ctx context.Context) error { |
no outgoing calls