| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"os/user" |
| 10 |
"reflect" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["os/user/user"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"Current": reflect.ValueOf(user.Current), |
| 17 |
"Lookup": reflect.ValueOf(user.Lookup), |
| 18 |
"LookupGroup": reflect.ValueOf(user.LookupGroup), |
| 19 |
"LookupGroupId": reflect.ValueOf(user.LookupGroupId), |
| 20 |
"LookupId": reflect.ValueOf(user.LookupId), |
| 21 |
|
| 22 |
|
| 23 |
"Group": reflect.ValueOf((*user.Group)(nil)), |
| 24 |
"UnknownGroupError": reflect.ValueOf((*user.UnknownGroupError)(nil)), |
| 25 |
"UnknownGroupIdError": reflect.ValueOf((*user.UnknownGroupIdError)(nil)), |
| 26 |
"UnknownUserError": reflect.ValueOf((*user.UnknownUserError)(nil)), |
| 27 |
"UnknownUserIdError": reflect.ValueOf((*user.UnknownUserIdError)(nil)), |
| 28 |
"User": reflect.ValueOf((*user.User)(nil)), |
| 29 |
} |
| 30 |
} |