SList is our struct that point to stack with container/list.List library
| 16 | |
| 17 | // SList is our struct that point to stack with container/list.List library |
| 18 | type SList struct { |
| 19 | Stack *list.List |
| 20 | } |
| 21 | |
| 22 | // Push add a value into our stack |
| 23 | func (sl *SList) Push(val any) { |
nothing calls this directly
no outgoing calls
no test coverage detected