Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for production (0.21 sec)

  1. .github/labels.json

        },
        "with_playground": {
          "name": "type:with reproduction steps",
          "colour": "#00ff00",
          "description": "with reproduction steps"
        },
        "without_playground": {
          "name": "type:missing reproduction steps",
          "colour": "#CF2E1F",
          "description": "missing reproduction steps"
        },
        "has_pr": {
          "name": "type:has pull request",
    Json
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 19 03:49:03 GMT 2020
    - 3.8K bytes
    - Viewed (0)
  2. .github/workflows/stale.yml

            days-before-stale: 360
            days-before-close: 180
            stale-issue-label: "status:stale"
            exempt-issue-labels: 'type:feature,type:with reproduction steps,type:has pull request'
            stale-pr-label: 'status:stale'
    Others
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 02:27:05 GMT 2023
    - 972 bytes
    - Viewed (0)
  3. utils/tests/models.go

    	AmountOff        uint32           `gorm:"column:amount_off"`
    	PercentOff       float32          `gorm:"column:percent_off"`
    }
    
    type CouponProduct struct {
    	CouponId  int    `gorm:"primarykey;size:255"`
    	ProductId string `gorm:"primarykey;size:255"`
    	Desc      string
    }
    
    type Order struct {
    	gorm.Model
    	Num      string
    	Coupon   *Coupon
    	CouponID string
    }
    
    type Parent struct {
    	gorm.Model
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. schema/schema_test.go

    			}
    		})
    	}
    }
    
    func TestCompositePrimaryKeyWithAutoIncrement(t *testing.T) {
    	type Product struct {
    		ProductID    uint `gorm:"primaryKey;autoIncrement"`
    		LanguageCode uint `gorm:"primaryKey"`
    		Code         string
    		Name         string
    	}
    	type ProductNonAutoIncrement struct {
    		ProductID    uint `gorm:"primaryKey;autoIncrement:false"`
    		LanguageCode uint `gorm:"primaryKey"`
    		Code         string
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. .github/workflows/missing_playground.yml

            stale-issue-label: "status:stale"
            days-before-stale: 0
            days-before-close: 30
            remove-stale-when-updated: true
    Others
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Apr 11 02:27:05 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. schema/schema.go

    // As of go1.22 the compiler supports one special case of a string constant
    // being passed to MethodByName. For enterprise customers or those building
    // large binaries, this gives a significant reduction in binary size.
    // https://github.com/golang/go/issues/62257
    func callBackToMethodValue(modelType reflect.Value, cbType callbackType) reflect.Value {
    	switch cbType {
    	case callbackTypeBeforeCreate:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  7. tests/associations_test.go

    		t.Fatalf("Should not find deleted profile")
    	}
    }
    
    func TestFullSaveAssociations(t *testing.T) {
    	coupon := &Coupon{
    		AppliesToProduct: []*CouponProduct{
    			{ProductId: "full-save-association-product1"},
    		},
    		AmountOff:  10,
    		PercentOff: 0.0,
    	}
    
    	err := DB.
    		Session(&gorm.Session{FullSaveAssociations: true}).
    		Create(coupon).Error
    	if err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. tests/create_test.go

    		t.Fatalf("first or create rows affect err:%v rows:%d", res.Error, res.RowsAffected)
    	}
    }
    
    func TestCreateWithAutoIncrementCompositeKey(t *testing.T) {
    	type CompositeKeyProduct struct {
    		ProductID    int `gorm:"primaryKey;autoIncrement:true;"` // primary key
    		LanguageCode int `gorm:"primaryKey;"`                    // primary key
    		Code         string
    		Name         string
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
Back to top