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/201-300/0284.Peeking-Iterator
    
    the code of the file until where you have to start completion: package Solution

type Iterator struct {
	data []int
	idx  int
}

func (this *Iterator) hasNext() bool {
	return this.idx < len(this.data)-1
}
func (this *Iterator) next() int {
	ans := this.data[this.idx]
	this.idx++
	return ans
}

type PeekingIterator struct {
	iter  *Iterator
	peekV int
}

func Constructor284(iter *Iterator) *PeekingIterator {
	retur
    
func Solution(iter *Iterator, options []string) []interface{} {
    ans := make([]interface{}, 0)
    o := Constructor284(iter)
    for _, op := range options {
        if op == "next" {
            ans = append(ans, o.next())
            continue
        }
        if op == "peek" {
            ans = append(ans, o.peek())
            continue
        }
        ans = append(ans, o.hasNext())
    }
    return ans
}