PushBackLabel adds a Label in the back of the current Label.
(labelToPush *Label)
| 52 | |
| 53 | // PushBackLabel adds a Label in the back of the current Label. |
| 54 | func (label *Label) PushBackLabel(labelToPush *Label) { |
| 55 | label.LevelsName = append(label.LevelsName, labelToPush.LevelsName...) |
| 56 | label.LevelsID = append(label.LevelsID, labelToPush.LevelsID...) |
| 57 | } |
| 58 | |
| 59 | // Insert a new level in the current Label. |
| 60 | func (label *Label) Insert(level int, name string, id int) { |
no outgoing calls