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/mongo-go-driver/cmd/build-oss-fuzz-corpus
    
    the code of the file until where you have to start completion: // Copyright (C) MongoDB, Inc. 2023-present.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this f
    
func seedExtJSON(zw *zip.Writer, extJSON string, extJSONType string, desc string) {
	jbytes, err := jsonToBytes(extJSON, extJSONType, desc)
	if err != nil {
		log.Fatalf("failed to convert JSON to bytes: %v", err)
	}

	// Use a SHA256 hash of the BSON bytes for the filename. This isn't an oss-fuzz requirement, it
	// just simplifies file naming.
	zipFile := fmt.Sprintf("%x", sha256.Sum256(jbytes))

	f, err := zw.Create(zipFile)
	if err != nil {
		log.Fatalf("error creating zip file: %v", err)
	}

	_, err = f.Write(jbytes)
	if err != nil {
		log.Fatalf("failed to write file: %s into zip file: %v", zipFile, err)
	}
}