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: main.go
    path of file: ./repos/qt/internal/examples/sailfish/listview
    
    the code of the file until where you have to start completion: package main

import (
	"os"
	"time"

	"github.com/therecipe/qt/core"
	"github.com/therecipe/qt/gui"
	"github.com/therecipe/qt/quick"
)

func main() {
	core.QCoreApplication_SetAttribute(core.Qt__AA_EnableHighDpiScaling, true)

	gui.NewQGuiApplication(len(os.Args), os.Args)

	var view = quick.NewQQuickView(nil)

	var model = NewPersonModel(nil)

	var p = NewPerson(nil)
	p.SetFirstName("john")
	p.SetLastName("doe")
	model.SetPeople([]*Person{p})

	view.RootContext().SetContextProperty("PersonModel", model)

	view.SetSource(core.NewQUrl3("qrc:/qml/main.qml", 0))
	view.SetResizeMode(quick.QQuickView__SizeRootObjectToView)
	view.Show()

	go func() {

		time.Sleep(5 * time.Second)

		//add pe
    
func main() {
	core.QCoreApplication_SetAttribute(core.Qt__AA_EnableHighDpiScaling, true)

	gui.NewQGuiApplication(len(os.Args), os.Args)

	var view = quick.NewQQuickView(nil)

	var model = NewPersonModel(nil)

	var p = NewPerson(nil)
	p.SetFirstName("john")
	p.SetLastName("doe")
	model.SetPeople([]*Person{p})

	view.RootContext().SetContextProperty("PersonModel", model)

	view.SetSource(core.NewQUrl3("qrc:/qml/main.qml", 0))
	view.SetResizeMode(quick.QQuickView__SizeRootObjectToView)
	view.Show()

	go func() {

		time.Sleep(5 * time.Second)

		//add person
		for i := 0; i < 3; i++ {
			var p = NewPerson(nil)
			p.SetFirstName("hello")
			p.SetLastName("world")
			model.AddPerson(p)
		}

		//edit person
		model.EditPerson(1, "bob", "")
		model.EditPerson(3, "", "john")

		//remove person
		model.RemovePerson(2)

	}()

	gui.QGuiApplication_Exec()
}