Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,023 for namer (0.16 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    	*URL
    }
    
    type S2 struct {
    	// Deprecated: use T.
    	S
    	Extra bool
    }
    
    var X0 int64
    
    var (
    	Y int
    	X I
    )
    
    type Namer interface {
    	Name() string
    }
    
    type I interface {
    	Namer
    	ptwo.Twoer
    	Set(name string, balance int64)
    	// Deprecated: use GetNamed.
    	Get(string) int64
    	GetNamed(string) (balance int64)
    	private()
    }
    
    type Public interface {
    	X()
    	Y()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  2. schema/naming.go

    }
    
    func (ns NamingStrategy) toDBName(name string) string {
    	if name == "" {
    		return ""
    	}
    
    	if ns.NameReplacer != nil {
    		tmpName := ns.NameReplacer.Replace(name)
    
    		if tmpName == "" {
    			return name
    		}
    
    		name = tmpName
    	}
    
    	if ns.NoLowerCase {
    		return name
    	}
    
    	var (
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. schema/constraint.go

    		if chk := field.TagSettings["CHECK"]; chk != "" {
    			names := strings.Split(chk, ",")
    			if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) {
    				checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field}
    			} else {
    				if names[0] == "" {
    					chk = strings.Join(names[1:], ",")
    				}
    				name := schema.namer.CheckerName(schema.Table, field.DBName)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. schema/schema.go

    type TablerWithNamer interface {
    	TableName(Namer) string
    }
    
    // Parse get data type from dialector
    func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) {
    	return ParseWithSpecialTableName(dest, cacheStore, namer, "")
    }
    
    // ParseWithSpecialTableName get data type from dialector with extra schema table
    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)
  5. .idea/dictionaries/sebastiansellmair.xml

    <component name="ProjectDictionaryState">
      <dictionary name="sebastiansellmair">
        <words>
          <w>actuals</w>
          <w>associator</w>
          <w>cinterops</w>
          <w>instantiator</w>
          <w>interops</w>
          <w>klibrary</w>
          <w>namer</w>
          <w>undispatched</w>
        </words>
      </dictionary>
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 08 15:25:19 GMT 2024
    - 318 bytes
    - Viewed (0)
  6. tests/table_test.go

    	if !regexp.MustCompile("SELECT \\* FROM \\(SELECT .name. FROM .users. WHERE name = .+ AND .users.\\..deleted_at. IS NULL\\) as u, \\(SELECT .name. FROM .pets. WHERE name = .+ AND .pets.\\..deleted_at. IS NULL\\) as p WHERE name = .+ AND name = .+ AND .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type I interface, GetNamed(string) int64
    pkg p1, type I interface, Name() string
    pkg p1, type I interface, PackageTwoMeth()
    pkg p1, type I interface, Set(string, int64)
    pkg p1, type I interface, unexported methods
    pkg p1, type MyInt int
    pkg p1, type Namer interface { Name }
    pkg p1, type Namer interface, Name() string
    pkg p1, type Private interface, X()
    pkg p1, type Private interface, unexported methods
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. schema/relationship.go

    			lookUpName := primarySchemaName + primaryField.Name
    			if gl == guessBelongs {
    				lookUpName = field.Name + primaryField.Name
    			}
    
    			lookUpNames := []string{lookUpName}
    			if len(primaryFields) == 1 {
    				lookUpNames = append(lookUpNames, strings.TrimSuffix(lookUpName, primaryField.Name)+"ID",
    					strings.TrimSuffix(lookUpName, primaryField.Name)+"Id", schema.namer.ColumnName(foreignSchema.Table,
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  9. schema/index.go

    					subName := field.Name
    					const key = "COMPOSITE"
    					if composite, found := settings[key]; found {
    						if len(composite) == 0 || composite == key {
    							err = fmt.Errorf(
    								"The composite tag of %s.%s cannot be empty",
    								field.Schema.Name,
    								field.Name)
    							return
    						}
    						subName = composite
    					}
    					name = field.Schema.namer.IndexName(
    						field.Schema.Table, subName)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. schema/utils.go

    	settings := map[string]string{}
    	names := strings.Split(str, sep)
    
    	for i := 0; i < len(names); i++ {
    		j := i
    		if len(names[j]) > 0 {
    			for {
    				if names[j][len(names[j])-1] == '\\' {
    					i++
    					names[j] = names[j][0:len(names[j])-1] + sep + names[i]
    					names[i] = ""
    				} else {
    					break
    				}
    			}
    		}
    
    		values := strings.Split(names[j], ":")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top