Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parser (0.14 sec)

  1. cmd/update.go

    // minioVersionToReleaseTime - parses a standard official release
    // MinIO version string.
    //
    // An official binary's version string is the release time formatted
    // with RFC3339 (in UTC) - e.g. `2017-09-29T19:16:56Z`
    func minioVersionToReleaseTime(version string) (releaseTime time.Time, err error) {
    	return time.Parse(time.RFC3339, version)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. callbacks/update.go

    		updatingSchema := stmt.Schema
    		var isDiffSchema bool
    		if !updatingValue.CanAddr() || stmt.Dest != stmt.Model {
    			// different schema
    			updatingStmt := &gorm.Statement{DB: stmt.DB}
    			if err := updatingStmt.Parse(stmt.Dest); err == nil {
    				updatingSchema = updatingStmt.Schema
    				isDiffSchema = true
    			}
    		}
    
    		switch updatingValue.Kind() {
    		case reflect.Struct:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
Back to top