Documentation
¶
Overview ¶
Copyright © 2025 Prabhjot Singh Sethi, All Rights reserved Author: Prabhjot Singh Sethi <prabhjot.sethi@gmail.com>
Package gensdk provides a code generator for SDK files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasQueryParam ¶
func HasQueryParam(b *descriptor.Binding) bool
HasQueryParam determines if the binding needs parameters in query string.
It sometimes returns true even though actually the binding does not need. But it is not serious because it just results in a small amount of extra codes generated.
func New ¶
func New(reg *descriptor.Registry, useRequestContext bool, registerFuncSuffix string, allowPatchFeature, standalone bool) gen.Generator
New returns a new generator which generates grpc gateway files.
func UpdateReserveGoImports ¶
func UpdateReserveGoImports(reg *descriptor.Registry, packages []string) []descriptor.GoPackage
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.