From bf8c3172c3d71825911a8aacadc562e4408c1ee6 Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Thu, 11 Feb 2021 20:35:32 +0100 Subject: [PATCH] Removed dependency on homedir. --- utio/dir.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utio/dir.go b/utio/dir.go index 2dbea0f..f78b508 100644 --- a/utio/dir.go +++ b/utio/dir.go @@ -2,13 +2,11 @@ package utio import ( "os" - - homedir "github.com/mitchellh/go-homedir" ) // Home gives back the home directory for the current user. func Home() (string, error) { - return homedir.Dir() + return os.UserHomeDir() } // PathExists tests if the supplied path exists.