AddItem saves a KV result into PageItems.
(key string, item string)
| 32 | |
| 33 | // AddItem saves a KV result into PageItems. |
| 34 | func (this *PageItems) AddItem(key string, item string) { |
| 35 | this.items[key] = item |
| 36 | } |
| 37 | |
| 38 | // GetItem returns value of the key. |
| 39 | func (this *PageItems) GetItem(key string) (string, bool) { |