package demo_server import ( "git.sxidc.com/go-framework/baize/convenient/gwtools" "git.sxidc.com/go-framework/baize/framework/gateway" ) const ( versionBaseUrl = serviceVersionedUrl + "/version" ) func versionGateway(builder *gateway.Builder) { gwtools.GetPassThrough(builder, &gwtools.SimplePassThroughParams{ RelativePath: "/version", Request: &gateway.GetRequest{ Url: versionBaseUrl, }, }) }