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: uuid.go
    path of file: ./repos/sliver/implant/sliver/hostuuid
    
    the code of the file until where you have to start completion: package hostuuid

/*
	Sliver Implant Framework
	Copyright (C) 2019  Bishop Fox

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be use
    
func UUIDFromMAC() string {
	// {{if .Config.Debug}}
	log.Printf("Generating host UUID from hardware addresses ...")
	// {{end}}
	interfaces, err := net.Interfaces()
	if err != nil {
		return zeroGUID.String()
	}
	hardwareAddrs := []string{}
	for _, iface := range interfaces {
		if iface.HardwareAddr != nil {
			hardwareAddrs = append(hardwareAddrs, iface.HardwareAddr.String())
		}
	}
	if len(hardwareAddrs) == 0 {
		return zeroGUID.String()
	}
	sort.Strings(hardwareAddrs) // Ensure deterministic order
	digest := sha256.New()
	for _, addr := range hardwareAddrs {
		digest.Write([]byte(addr))
	}
	value, err := uuid.FromBytes(digest.Sum(nil)[:16]) // Must be 128-bits
	if err != nil {
		return zeroGUID.String()
	}
	return value.String()
}