You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: Solution.go
    path of file: ./repos/awesome-golang-algorithm/leetcode/1-100/0082.Remove-Duplicates-from-Sorted-List-II
    
    the code of the file until where you have to start completion: package Solution

/*
 * @lc app=leetcode id=82 lang=golang
 *
 * [82] Remove Duplicates from Sorted List II
 */
/**
 * Definition for singly-linked list.
 * type ListNode struct {
 *     Val int
 *     Next *ListNode
 * }
 */
func Solution(head
    
func Solution(head *ListNode) *ListNode {
	if nil == head || nil == head.Next {
		return head
	}
	p := new(ListNode)
	p.Next = head
	prev, current := p, p.Next
	for current != nil && current.Next != nil {
		if current.Val == current.Next.Val {
			for current.Next != nil && current.Val == current.Next.Val {
				current = current.Next
			}
			current = current.Next
			prev.Next = current
		} else {
			prev = prev.Next
			current = current.Next
		}
	}
	return p.Next
}