nestedpaths

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter() *http.ServeMux

Types

type Order

type Order struct {
	ID     string `json:"id"`
	UserID string `json:"user_id"`
	Total  int    `json:"total"`
}

type OrderItem

type OrderItem struct {
	ID      string `json:"id"`
	OrderID string `json:"order_id"`
	Product string `json:"product"`
	Qty     int    `json:"qty"`
}

type User

type User struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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