Discover Packages
github.com/Southclaws/schemancer
tests
golang
nested_objects
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Customer struct {
Email *string `json:"email,omitempty"`
ID string `json:"id"`
Name string `json:"name"`
}
type LineItem struct {
Price float64 `json:"price"`
ProductID string `json:"productId"`
Quantity int `json:"quantity"`
}
type Order struct {
Customer Customer `json:"customer"`
ID string `json:"id"`
Items []LineItem `json:"items"`
Total *float64 `json:"total,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.