imports_test

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportsController

type ImportsController struct {
	// Importing with . to test that specific AST enumeration branch
	// which is slightly different than for function parameters/return values
	GleeceController
}

@Tag(Imports Controller Tag) @Route(/test/imports)

func (*ImportsController) ImportedWithCustomAlias

func (ec *ImportsController) ImportedWithCustomAlias(
	input alias.ImportedWithCustomAlias,
) (alias.ImportedWithCustomAlias, error)

@Method(POST) @Route(/imported-with-custom-alias) @Body(input)

func (*ImportsController) ImportedWithDefaultAlias

func (ec *ImportsController) ImportedWithDefaultAlias(
	input types.ImportedWithDefaultAlias,
) (types.ImportedWithDefaultAlias, error)

@Method(POST) @Route(/imported-with-default-alias) @Body(input)

func (*ImportsController) ImportedWithDot

func (ec *ImportsController) ImportedWithDot(input ImportedWithDot) (ImportedWithDot, error)

@Method(POST) @Route(/imported-with-dot) @Body(input)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL