- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Shing (0.12 sec)
-
schema/relationship_test.go
) } func TestMultipleMany2Many(t *testing.T) { type Thing struct { ID int } type Person struct { ID int Likes []Thing `gorm:"many2many:likes"` Dislikes []Thing `gorm:"many2many:dislikes"` } checkStructRelation(t, &Person{}, Relation{ Name: "Likes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing", JoinTable: JoinTable{Name: "likes", Table: "likes"},
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 25.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// (e.g. LoadBalanced Service packets, etc) that need to be authenticated/captured/proxied. // // We want to do the same thing in ambient but can't rely on podSpec injection. So, do effectively the same thing, // but with iptables rules - use `--socket-exists` as a proxy for "is this a forwarded packet" vs "is this originating from
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
package, such as C.puts. It collects all such identifiers. The next step is to determine each kind of name. In C.xxx the xxx might refer to a type, a function, a constant, or a global variable. Cgo must decide which. The obvious thing for cgo to do is to process the preamble, expanding #includes and processing the corresponding C code. That would require a full C parser and type checker that was also aware of any extensions
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0)