func GetBinaryFileChecksum(filename string) (string, error) {
	if _, found := binaryFileChecksums[filename]; !found {
		return "", fmt.Errorf(`static: unable to find checksum for %q`, filename)
	}
	return binaryFileChecksums[filename], nil
}
GetBinaryFileChecksum returns a binary file checksum.
package static  
import (
	"bytes"
	"crypto/sha256"
	"embed"
	"fmt"
	"github.com/tdewolff/minify/v2"
	"github.com/tdewolff/minify/v2/css"
	"github.com/tdewolff/minify/v2/js"
)
var (
	StylesheetBundleChecksums map[string]string
	StylesheetBundles         map[string][]byte
	JavascriptBundleChecksums map[string]string
	JavascriptBundles         map[string][]byte
)
var binaryFiles embed.FS
var stylesheetFiles embed.FS
var javascriptFiles embed.FS
var binaryFileChecksums map[string]string
func CalculateBinaryFileChecksums() error {
	binaryFileChecksums = make(map[string]string)
	dirEntries, err := binaryFiles.ReadDir("bin")
	if err != nil {
		return err
	}
	for _, dirEntry := range dirEntries {
		data, err := LoadBinaryFile(dirEntry.Name())
		if err != nil {
			return err
		}
		binaryFileChecksums[dirEntry.Name()] = fmt.Sprintf("%x", sha256.Sum256(data))
	}
	return nil
}
func LoadBinaryFile(filename string) ([]byte, error) {
	return binaryFiles.ReadFile(fmt.Sprintf(`bin/%s`, filename))
}