We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how i can write custom types on interface definition for example type ProductHandler interface { ProductDetail() fiber.handler }
type ProductHandler interface { ProductDetail() fiber.handler }
The text was updated successfully, but these errors were encountered:
How did you completed it? @khafidprayoga @dave
Sorry, something went wrong.
@TorbenHammes
domain := jen.NewFile("domain") domain.ImportName("github.com/gofiber/fiber/v2", "fiber") domain.Type().Id("ProductHandler").Interface( jen.Id("ProductDetail").Params().Qual("github.com/gofiber/fiber/v2", "Handler"), )
Thank you @khafidprayoga
No branches or pull requests
how i can write custom types on interface definition
for example
type ProductHandler interface { ProductDetail() fiber.handler }
The text was updated successfully, but these errors were encountered: