package
Version:
v0.0.0-...-5e02e5d
Opens a new window with list of versions in this module.
Published: Aug 25, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Capacity struct {
Storage string `json:"storage"`
}
type Item struct {
Metadata Metadata `json:"metadata"`
Status Status `json:"status"`
}
type Metadata struct {
Name string `json:"name"`
}
Define the structure that matches the JSON
type Response struct {
Items []Item `json:"items"`
}
type Status struct {
Capacity Capacity `json:"capacity"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.