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/buildkit/examples/gobuild
    
    the code of the file until where you have to start completion: //go:build ignore
// +build ignore

package main

import (
	"os"

	"github.com/moby/buildkit/client/llb"
	gobuild "github.com/tonistiigi/llb-gobuild"
)

func main() {
	if err := run(); err != nil {
		panic(err)
	}
}

func run() error {
	src := llb.Local("src")

	gb := gobuild.New(nil)
	// gb := gobuild.New(&gobuild.Opt{DevMode: true})

	buildctl, err := gb.BuildExe(gobuild.BuildOpt{
		Source:    src,
		MountPath: "/go/src/github.com/moby/buildkit",
		Pkg:       "github.com/moby/buildkit/cmd/buildctl",
		BuildTags: []string{},
	})
	if err != nil {
		return err
	}

	buildkitd, err := gb.BuildExe(gobuild.BuildOpt{
		Source:    src,
		MountPath: "/go/src/github.com/moby/buildkit",
		Pkg:       "github.com/moby/buil
    
func run() error {
	src := llb.Local("src")

	gb := gobuild.New(nil)
	// gb := gobuild.New(&gobuild.Opt{DevMode: true})

	buildctl, err := gb.BuildExe(gobuild.BuildOpt{
		Source:    src,
		MountPath: "/go/src/github.com/moby/buildkit",
		Pkg:       "github.com/moby/buildkit/cmd/buildctl",
		BuildTags: []string{},
	})
	if err != nil {
		return err
	}

	buildkitd, err := gb.BuildExe(gobuild.BuildOpt{
		Source:    src,
		MountPath: "/go/src/github.com/moby/buildkit",
		Pkg:       "github.com/moby/buildkit/cmd/buildkitd",
		BuildTags: []string{},
	})
	if err != nil {
		return err
	}
	_ = buildkitd

	containerd, err := gb.BuildExe(gobuild.BuildOpt{
		Source:    llb.Git("github.com/containerd/containerd", "v1.2.7"),
		MountPath: "/go/src/github.com/containerd/containerd",
		Pkg:       "github.com/containerd/containerd/cmd/containerd",
		BuildTags: []string{"no_btrfs"},
	})
	if err != nil {
		return err
	}
	runc, err := gb.BuildExe(gobuild.BuildOpt{
		CgoEnabled: true,
		Source:     llb.Git("github.com/opencontainers/runc", "master"),
		MountPath:  "/go/src/github.com/opencontainers/runc",
		Pkg:        "github.com/opencontainers/runc",
		BuildTags:  []string{},
	})
	if err != nil {
		return err
	}

	sc := llb.Scratch().
		With(copyAll(*buildctl, "/")).
		With(copyAll(*containerd, "/")).
		// With(copyAll(*buildkitd, "/")).
		With(copyAll(*runc, "/"))

	dt, err := sc.Marshal(llb.LinuxAmd64)
	if err != nil {
		panic(err)
	}
	llb.WriteTo(dt, os.Stdout)
	return nil
}