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: shared_config.go
    path of file: ./repos/aws-sdk-go-v2/internal/shareddefaults
    
    the code of the file until where you have to start completion: package shareddefaults

import (
	"os"
	"os/user"
	"path/filepath"
)

// SharedCredentialsFilename returns the SDK's default file path
// for the shared cre
    
func UserHomeDir() string {
	// Ignore errors since we only care about Windows and *nix.
	home, _ := os.UserHomeDir()

	if len(home) > 0 {
		return home
	}

	currUser, _ := user.Current()
	if currUser != nil {
		home = currUser.HomeDir
	}

	return home
}