Items get request's item context lazy init when first use
()
| 285 | // Items get request's item context |
| 286 | // lazy init when first use |
| 287 | func (ctx *HttpContext) Items() core.ConcurrenceMap { |
| 288 | if ctx.items == nil { |
| 289 | ctx.items = core.NewConcurrenceMap() |
| 290 | } |
| 291 | return ctx.items |
| 292 | } |
| 293 | |
| 294 | // Tools get tools |
| 295 | // lazy init when first use |
no test coverage detected