github.com/goplus/igop@v0.25.0/pkg/os/user/go117_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package user 7 8 import ( 9 q "os/user" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "user", 19 Path: "os/user", 20 Deps: map[string]string{ 21 "fmt": "fmt", 22 "runtime/cgo": "cgo", 23 "strconv": "strconv", 24 "strings": "strings", 25 "sync": "sync", 26 "syscall": "syscall", 27 "unsafe": "unsafe", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]reflect.Type{ 31 "Group": reflect.TypeOf((*q.Group)(nil)).Elem(), 32 "UnknownGroupError": reflect.TypeOf((*q.UnknownGroupError)(nil)).Elem(), 33 "UnknownGroupIdError": reflect.TypeOf((*q.UnknownGroupIdError)(nil)).Elem(), 34 "UnknownUserError": reflect.TypeOf((*q.UnknownUserError)(nil)).Elem(), 35 "UnknownUserIdError": reflect.TypeOf((*q.UnknownUserIdError)(nil)).Elem(), 36 "User": reflect.TypeOf((*q.User)(nil)).Elem(), 37 }, 38 AliasTypes: map[string]reflect.Type{}, 39 Vars: map[string]reflect.Value{}, 40 Funcs: map[string]reflect.Value{ 41 "Current": reflect.ValueOf(q.Current), 42 "Lookup": reflect.ValueOf(q.Lookup), 43 "LookupGroup": reflect.ValueOf(q.LookupGroup), 44 "LookupGroupId": reflect.ValueOf(q.LookupGroupId), 45 "LookupId": reflect.ValueOf(q.LookupId), 46 }, 47 TypedConsts: map[string]igop.TypedConst{}, 48 UntypedConsts: map[string]igop.UntypedConst{}, 49 }) 50 }