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: CreateImage.go
    path of file: ./repos/aws-doc-sdk-examples/go/ec2/CreateImage
    
    the code of the file until where you have to start completion: // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
// snippet-start:[ec2.go.create_image]
package main

// snippet-start:[ec2.go.create_image.imports]
import (
    "flag"
    "fmt"

    "github.com/aws/aws-sdk-go/aws"
    "github.com/aws/aws-sdk-go/aws/session"
    "github.com/aws/aws-sdk-go/service/ec2"
    "github.com/aws/aws-sdk-go/service/ec2/ec2iface"
)
// snippet-end:[ec2.go.create_image.imports]

// MakeImage creates an Amazon Elastic Compute Cloud (Amazon EC2) image.
// Inputs:
//     svc is an Amazon EC2 service client
//     description is the description of the image
//     instanceID is the ID of the instance
//     name is the name of the image
// Output:
//     If success, the SOMETHING of the RESOURCE and nil
//     Otherwise, an empty string
    
func MakeImage(svc ec2iface.EC2API, description, instanceID, name *string) (*ec2.CreateImageOutput, error) {
    // snippet-start:[ec2.go.create_image.call]
    opts := &ec2.CreateImageInput{
        Description: description,
        InstanceId:  instanceID,
        Name:        name,
        BlockDeviceMappings: []*ec2.BlockDeviceMapping{
            {
                DeviceName: aws.String("/dev/sda1"),
                NoDevice:   aws.String(""),
            },
            {
                DeviceName: aws.String("/dev/sdb"),
                NoDevice:   aws.String(""),
            },
            {
                DeviceName: aws.String("/dev/sdc"),
                NoDevice:   aws.String(""),
            },
        },
    }
    resp, err := svc.CreateImage(opts)
    // snippet-end:[ec2.go.create_image.call]
    if err != nil {
        return nil, err
    }

    return resp, nil
}