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/dotenx/predefinedImages/tasks/stripe-create-price
    
    the code of the file until where you have to start completion: // image: hojjat12/stripe-create-price:lambda
package main

import (
	"context"
	"fmt"
	"io"
	"io/ioutil"
	"net/http"
	"strconv"
	"time"

	"github.com/aws/aws-lambda-go/lambda"
	"github.com/stripe/stripe-go/v72"
	"github.com/stripe/stripe-go/v72/client"
)

type Event struct {
	Body           m
    
func createPrice(sc *client.API, productId, currency string, unitAmount int64, recurringInterval string, recurringIntervalCount int64) (stripe.Price, error) {
	var params *stripe.PriceParams
	if recurringInterval != "" {
		params = &stripe.PriceParams{
			Product:    stripe.String(productId),
			UnitAmount: stripe.Int64(unitAmount),
			Currency:   stripe.String(currency),
			Recurring: &stripe.PriceRecurringParams{
				Interval:      stripe.String(recurringInterval),
				IntervalCount: stripe.Int64(recurringIntervalCount),
			},
		}
	} else {
		params = &stripe.PriceParams{
			Product:    stripe.String(productId),
			UnitAmount: stripe.Int64(unitAmount),
			Currency:   stripe.String(currency),
		}
	}
	p, err := sc.Prices.New(params)
	if err != nil {
		fmt.Println(err)
		return stripe.Price{}, err
	}
	return *p, err
}