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: MakeBucketPublic.go
    path of file: ./repos/aws-doc-sdk-examples/go/s3/MakeBucketPublic
    
    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: Apache-2.0
// snippet-start:[s3.go.make_bucket_public]
pack
    
func main() {
	// snippet-start:[s3.go.make_bucket_public.args]
	bucket := flag.String("b", "", "The name of the bucket")
	flag.Parse()

	if *bucket == "" {
		fmt.Println("You must supply the name of a bucket (-b BUCKET)")
		return
	}
	// snippet-end:[s3.go.make_bucket_public.args]

	// snippet-start:[s3.go.make_bucket_public.session]
	sess := session.Must(session.NewSessionWithOptions(session.Options{
		SharedConfigState: session.SharedConfigEnable,
	}))
	// snippet-end:[s3.go.make_bucket_public.session]

	err := SetBucketPublic(sess, bucket)
	if err != nil {
		fmt.Println("Could not set public access to bucket " + *bucket)
		return
	}

	fmt.Println("Bucket " + *bucket + " is now public")
}