Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for scandir (0.21 sec)

  1. src/bufio/scan.go

    // Scan advances the [Scanner] to the next token, which will then be
    // available through the [Scanner.Bytes] or [Scanner.Text] method. It returns false when
    // there are no more tokens, either by reaching the end of the input or an error.
    // After Scan returns false, the [Scanner.Err] method will return any error that
    // occurred during scanning, except that if it was [io.EOF], [Scanner.Err]
    // will return nil.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. scan.go

    				sch, _ = schema.Parse(db.Statement.Dest, db.cacheStore, db.NamingStrategy)
    			}
    
    			if len(columns) == 1 {
    				// Is Pluck
    				if _, ok := reflect.New(reflectValueType).Interface().(sql.Scanner); (reflectValueType != sch.ModelType && ok) || // is scanner
    					reflectValueType.Kind() != reflect.Struct || // is not struct
    					sch.ModelType.ConvertibleTo(schema.TimeReflectType) { // is time
    					sch = nil
    				}
    			}
    
    			// Not Pluck
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top