PushBack adds a level in the back of the current Label.
(name string, id int)
| 38 | |
| 39 | // PushBack adds a level in the back of the current Label. |
| 40 | func (label *Label) PushBack(name string, id int) { |
| 41 | label.LevelsName = append(label.LevelsName, name) |
| 42 | label.LevelsID = append(label.LevelsID, id) |
| 43 | } |
| 44 | |
| 45 | // PushFront adds a level in the front of the current Label.. |
| 46 | func (label *Label) PushFront(name string, id int) { |
no outgoing calls