Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for localFlags (0.12 sec)

  1. cmd/endpoint_test.go

    	}
    	getExpectedEndpoints := func(args []string, prefix string) ([]*url.URL, []bool) {
    		var URLs []*url.URL
    		var localFlags []bool
    		for _, arg := range args {
    			u, _ := url.Parse(arg)
    			URLs = append(URLs, u)
    			localFlags = append(localFlags, strings.HasPrefix(arg, prefix))
    		}
    
    		return URLs, localFlags
    	}
    
    	case1Endpoint1 := "http://" + nonLoopBackIP + "/d1"
    	case1Endpoint2 := "http://" + nonLoopBackIP + "/d2"
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    		Locale     string `gorm:"primary_key"`
    		Subject    string
    		Body       string
    		Tags       []Tag `gorm:"many2many:blog_tags;"`
    		SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    		LocaleTags []Tag `gorm:"many2many:locale_blog_tags;ForeignKey:id,locale;References:id"`
    	}
    
    	checkStructRelation(t, &Blog{},
    		Relation{
    			Name: "Tags", Type: schema.Many2Many, Schema: "Blog", FieldSchema: "Tag",
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top