package example import ( "git.sxidc.com/go-framework/baize/convenient/gwtools/relation/one2one" "git.sxidc.com/go-framework/baize/framework/gateway" ) func studentAndFamilyGateway(builder *gateway.Builder) { one2one.BindSimple(builder, &one2one.Simple{ ServiceVersionedUrl: serviceVersionedUrl, ServiceShortName: "example", LeftDomainCamelName: "Student", RightDomainCamelName: "Family", }) }