- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for isExported (2.03 sec)
-
utils/tests/utils.go
if reflect.ValueOf(got).NumField() == reflect.ValueOf(expect).NumField() { exported := false for i := 0; i < reflect.ValueOf(got).NumField(); i++ { if fieldStruct := reflect.ValueOf(got).Type().Field(i); ast.IsExported(fieldStruct.Name) { exported = true field := reflect.ValueOf(got).Field(i) t.Run(fieldStruct.Name, func(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
api/go1.17.txt
pkg net/http, func AllowQuerySemicolons(Handler) Handler pkg net/url, method (Values) Has(string) bool pkg reflect, func VisibleFields(Type) []StructField pkg reflect, method (Method) IsExported() bool pkg reflect, method (StructField) IsExported() bool pkg reflect, method (Value) CanConvert(Type) bool pkg reflect, method (Value) InterfaceData //deprecated pkg runtime/cgo (darwin-amd64-cgo), func NewHandle(interface{}) Handle
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
clause/expression.go
switch reflectValue.Kind() { case reflect.Struct: modelType := reflectValue.Type() for i := 0; i < modelType.NumField(); i++ { if fieldStruct := modelType.Field(i); ast.IsExported(fieldStruct.Name) { namedMap[fieldStruct.Name] = reflectValue.Field(i).Interface() if fieldStruct.Anonymous { appendFieldsToMap(reflectValue.Field(i)) } } } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 06:45:48 UTC 2023 - 8.3K bytes - Viewed (0) -
schema/schema.go
// Wait for the initialization of other goroutines to complete <-s.initialized return s, s.err } for i := 0; i < modelType.NumField(); i++ { if fieldStruct := modelType.Field(i); ast.IsExported(fieldStruct.Name) { if field := schema.ParseField(fieldStruct); field.EmbeddedSchema != nil { schema.Fields = append(schema.Fields, field.EmbeddedSchema.Fields...) } else {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 20 12:19:31 UTC 2024 - 13.7K bytes - Viewed (0) -
src/cmd/api/main_test.go
if verbose { log.Println(pkg) } pop := w.pushScope("pkg " + pkg.Path()) w.current = pkg w.collectDeprecated() scope := pkg.Scope() for _, name := range scope.Names() { if token.IsExported(name) { w.emitObj(scope.Lookup(name)) } } pop() } func set(items []string) map[string]bool { s := make(map[string]bool) for _, v := range items { s[v] = true } return s
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
api/go1.13.txt
pkg errors, func Is(error, error) bool pkg errors, func Unwrap(error) error pkg go/constant, func Make(interface{}) Value pkg go/constant, func Val(Value) interface{} pkg go/token, func IsExported(string) bool pkg go/token, func IsIdentifier(string) bool pkg go/token, func IsKeyword(string) bool pkg go/types, func CheckExpr(*token.FileSet, *Package, token.Pos, ast.Expr, *Info) error pkg log, func Writer() io.Writer
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.txt
pkg go/ast, func FilterPackage(*Package, Filter) bool pkg go/ast, func Fprint(io.Writer, *token.FileSet, interface{}, FieldFilter) error pkg go/ast, func Inspect(Node, func(Node) bool) pkg go/ast, func IsExported(string) bool pkg go/ast, func MergePackageFiles(*Package, MergeMode) *File pkg go/ast, func NewIdent(string) *Ident pkg go/ast, func NewObj(ObjKind, string) *Object
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)