Item is a bare value and associated parameters. See https://httpwg.org/specs/rfc9651.html#item.
| 7 | // Item is a bare value and associated parameters. |
| 8 | // See https://httpwg.org/specs/rfc9651.html#item. |
| 9 | type Item struct { |
| 10 | Value interface{} |
| 11 | Params *Params |
| 12 | } |
| 13 | |
| 14 | // NewItem returns a new Item. |
| 15 | func NewItem(v interface{}) Item { |
nothing calls this directly
no outgoing calls
no test coverage detected