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: resolvconf_path.go
    path of file: ./repos/moby/libnetwork/internal/resolvconf
    
    the code of the file until where you have to start completion: package resolvconf

import (
	"context"
	"net/netip"
	"sync"

	"github.com/containerd/log"
)

const (
	// defaultPath is the default path to the resolv.conf that contains information to resolve DNS. See Path().
	defaultPath = "/etc/resolv.conf"
	// alternatePath is a path different from defaultPath, that may be used to resolve DNS. See Path(
    
func Path() string {
	detectSystemdResolvConfOnce.Do(func() {
		rc, err := Load(defaultPath)
		if err != nil {
			// silencing error as it will resurface at next calls trying to read defaultPath
			return
		}
		ns := rc.nameServers
		if len(ns) == 1 && ns[0] == netip.MustParseAddr("127.0.0.53") {
			pathAfterSystemdDetection = alternatePath
			log.G(context.TODO()).Infof("detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: %s", alternatePath)
		}
	})
	return pathAfterSystemdDetection
}