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: wizard.go
    path of file: ./repos/osmedeus/distribute
    
    the code of the file until where you have to start completion: package distribute

import (
	"bufio"
	"fmt"
	"os"
	"strings"
	"syscall"

	"github.com/Shopify/yaml"
	"github.com/fatih/color"
	"github.com/j3ssie/osmedeus/libs"
	"github.com/j3ss
    
func generateProvider() provider.ConfigProvider {
	configProvider := provider.ConfigProvider{
		Token:        "",
		Provider:     "digitalocean",
		DefaultImage: "debian-10-x64",
		Size:         "s-2vcpu-4gb",
		Region:       "sfo3",
		Username:     "root",
		Limit:        0,
	}

	//#   provider: "digitalocean"
	//#   name: "do-osmp"
	//#   default_image: "debian-10-x64"
	//#   size: "s-2vcpu-4gb"
	//#   region: "sfo3"

	//#   provider: "linode"
	//#   name: "linode-osmp"
	//#   default_image: "linode/debian10"
	//#   size: "g6-standard-1"
	//#   region: "us-east"

	configProvider.Provider = StringPrompt("ðŸŒ€ What is your cloud provider?", configProvider.Provider)

	switch configProvider.Provider {
	case "do", "digitalocean":
		configProvider.Provider = "digitalocean"
		fmt.Printf("==> provider selected: %s\n", color.HiBlueString("digitalocean"))
	case "ln", "line", "linode":
		configProvider = provider.ConfigProvider{
			Token:        "",
			Provider:     "linode",
			DefaultImage: "linode/debian10",
			Size:         "g6-standard-1",
			Region:       "us-east",
			Username:     "root",

			Limit: 0,
		}
		fmt.Printf("==> provider selected: %s\n", color.HiBlueString("linode"))
	case "aw", "asw", "aws":
		configProvider = provider.ConfigProvider{
			AccessKeyId:  "",
			SecretKey:    "",
			Provider:     "aws",
			DefaultImage: "ami-0ee39036464b9a87e",
			Size:         "t2.medium",
			Region:       "ap-southeast-1",
			Username:     "admin",
			Limit:        0,
		}
		fmt.Printf("==> provider selected: %s\n", color.HiBlueString("aws"))

	default:
		configProvider.Provider = "digitalocean"
		fmt.Printf("==> provider selected: %s\n", color.HiBlueString("digitalocean"))
	}

	if configProvider.Provider == "aws" {
		configProvider.AccessKeyId = credentials("AWS AccessKeyId")
		fmt.Println()
		configProvider.SecretKey = credentials("AWS SecretKey")
		fmt.Println()
	} else {
		configProvider.Token = credentials("API Token")
	}

	configProvider.Name = fmt.Sprintf("%s-%s", configProvider.Provider, utils.RandomString(6))

	if configProvider.Provider == "aws" {
		fmt.Printf("ðŸ’¡ Choose your image carefully because it related to region.\n")
		fmt.Printf("ðŸ’¡ Refer for this link for more information: " + color.HiCyanString("https://wiki.debian.org/Cloud/AmazonEC2Image/Buster"))
	}
	configProvider.DefaultImage = StringPrompt("\nðŸŒ€ Choose "+color.HiGreenString("base image")+" for building Osmedeus Image?", configProvider.DefaultImage)
	configProvider.Size = StringPrompt("ðŸŒ€ Choose "+color.HiGreenString("instance type")+" for running the scan?", configProvider.Size)
	configProvider.Region = StringPrompt("ðŸŒ€ Choose "+color.HiGreenString("instance region")+" for running the scan?", configProvider.Region)

	return configProvider
}