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: objectmeta.go
    path of file: ./repos/podman/vendor/tags.cncf.io/container-device-interface/internal/validation/k8s
    
    the code of the file until where you have to start completion: /*
Copyright 2014 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or ag
    
func ValidateAnnotations(annotations map[string]string, path string) error {
	errors := multierror.New()
	for k := range annotations {
		// The rule is QualifiedName except that case doesn't matter, so convert to lowercase before checking.
		for _, msg := range IsQualifiedName(strings.ToLower(k)) {
			errors = multierror.Append(errors, fmt.Errorf("%v.%v is invalid: %v", path, k, msg))
		}
	}
	if err := ValidateAnnotationsSize(annotations); err != nil {
		errors = multierror.Append(errors, fmt.Errorf("%v is too long: %v", path, err))
	}
	return errors
}