T
Size: a a a
ЛА
MM
AE
type stack struct { data []string}
иfunc (s *stack) pop() (el string, isEmpty bool)
Работет ок пока не засунул в for:for el, isE := myS.pop(); !isE; { .. }
Бесконечность!DP
DP
DP
DP
GC
GC
for el, isE := myS.pop(); !isE; el, isE = myS.pop() {
fmt.Println(el)
}
GC
GC
AE
AE
VM