package correct // merges the 2 lists in one (in the end of the first list) func ListMerge(l1 *List, l2 *List) { if l1.Head == nil { l1.Head, l1.Tail = l2.Head, l2.Tail return } l1.Tail.Next = l2.Head }