shipping

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package shipping provides test fixture types whose names deliberately collide with types in sibling fixture packages, so OpenAPI component-name collision handling can be exercised from the router tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Invoice

type Invoice struct {
	TrackingCode string  `json:"tracking_code"`
	WeightKg     float64 `json:"weight_kg"`
	Note         Note    `json:"note"`
}

Invoice is the shipping flavour of a colliding type name.

type Note

type Note struct {
	Courier string `json:"courier"`
}

Note is a nested type whose name collides with its sibling packages'.

Jump to

Keyboard shortcuts

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