Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,977 for coupon (0.25 sec)

  1. tests/associations_test.go

    	}
    
    	if DB.First(&CouponProduct{}, "coupon_id = ? AND product_id = ?", coupon.ID, "full-save-association-product1").Error != nil {
    		t.Errorf("Failed to query saved association")
    	}
    
    	orders := []Order{{Num: "order1", Coupon: coupon}, {Num: "order2", Coupon: coupon}}
    	if err := DB.Create(&orders).Error; err != nil {
    		t.Errorf("failed to create orders, got %v", err)
    	}
    
    	coupon2 := Coupon{
    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)
  2. utils/tests/models.go

    	Desc      string
    }
    
    type Order struct {
    	gorm.Model
    	Num      string
    	Coupon   *Coupon
    	CouponID string
    }
    
    type Parent struct {
    	gorm.Model
    	FavChildID uint
    	FavChild   *Child
    	Children   []*Child
    }
    
    type Child struct {
    	gorm.Model
    	Name     string
    	ParentID *uint
    	Parent   *Parent
    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)
  3. tests/tests_test.go

    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	return
    }
    
    func RunMigrations() {
    	var err error
    	allModels := []interface{}{&User{}, &Account{}, &Pet{}, &Company{}, &Toy{}, &Language{}, &Coupon{}, &CouponProduct{}, &Order{}, &Parent{}, &Child{}, &Tools{}}
    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  4. tests/migrate_test.go

    func TestMigrateWithSpecialName(t *testing.T) {
    	var err error
    	err = DB.AutoMigrate(&Coupon{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    	err = DB.Table("coupon_product_1").AutoMigrate(&CouponProduct{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    	err = DB.Table("coupon_product_2").AutoMigrate(&CouponProduct{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    coop.py coop.rw coop.tt cooperativa.bo copenhagen.museum copro.uk corporation.museum correios-e-telecomunicações.museum corsica corvette.museum cosenza.it costume.museum couchpotatofries.org council.aero country countryestate.museum county.museum coupon coupons courses coz.br cpa cpa.pro cq.cn cr cr.it cr.ua crafting.xyz crafts.museum cranbrook.museum cranky.jp crd.co creation.museum credit creditcard creditunion cremona.it crew.aero cri.br cri.nz cricket crimea.ua crotone.it crown crs cruise cruises...
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    cool
    
    // corsica : 2014-09-25 Collectivité de Corse
    corsica
    
    // country : 2013-12-19 Internet Naming Company LLC
    country
    
    // coupon : 2015-02-26 Amazon Registry Services, Inc.
    coupon
    
    // coupons : 2015-03-26 Binky Moon, LLC
    coupons
    
    // courses : 2014-12-04 Registry Services, LLC
    courses
    
    // cpa : 2019-06-10 American Institute of Certified Public Accountants
    cpa
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  7. src/archive/tar/common.go

    	c_ISUID = 04000 // Set uid
    	c_ISGID = 02000 // Set gid
    	c_ISVTX = 01000 // Save text (sticky bit)
    
    	// Common Unix mode constants; these are not defined in any common tar standard.
    	// Header.FileInfo understands these, but FileInfoHeader will never produce these.
    	c_ISDIR  = 040000  // Directory
    	c_ISFIFO = 010000  // FIFO
    	c_ISREG  = 0100000 // Regular file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. istioctl/pkg/util/common.go

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/common/common.jsp

    Shinsuke Sugaya <******@****.***> 1440684101 +0900
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Aug 27 14:01:41 GMT 2015
    - 508 bytes
    - Viewed (0)
  10. common/Makefile.common.mk

    TMP := $(shell mktemp -d -u)
    UPDATE_BRANCH ?= "master"
    
    BUILD_TOOLS_ORG ?= "istio"
    
    update-common:
    	@mkdir -p $(TMP)
    	@git clone -q --depth 1 --single-branch --branch $(UPDATE_BRANCH) https://github.com/$(BUILD_TOOLS_ORG)/common-files $(TMP)/common-files
    	@cd $(TMP)/common-files ; git rev-parse HEAD >files/common/.commonfiles.sha
    	@rm -fr common
    # istio/community has its own CONTRIBUTING.md file.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top