为什么Go软件包显示为undefined?

I'm having trouble understanding what the issue is with my code below. The Visual Studio Code compiler is giving me errors such as the following because the package "util" is undefined.

'Error' message: 'undefined: util.GetPortAndURL

I'm placing the following at the top of my util.go file

package util

I'm also importing the package myproj/util in my handlers.go file, which is the one calling the below code in its init method.

file, err := ioutil.ReadFile("./creds.json")
if err != nil {
    fmt.Printf("File error: %v
", err)
    // use a better error pattern here
}
json.Unmarshal(file, &oathCred)
port, url := util.GetPortAndURL() <-------- Here
if (port != nil) && (url != nil) {
    oathConf = &oauth2.Config{
        ClientID:     oathCred.ClientID,
        ClientSecret: oathCred.ClientSecret,
        RedirectURL:  url + ":" + string(port) + "/auth",
        Scopes: []string{
            "https://www.googleapis.com/auth/userinfo.email", // You have to select your own scope from here -> https://developers.google.com/identity/protocols/googlescopes#google_sign-in
        },
        Endpoint: google.Endpoint,
    }
}

The getPortAndURL() function is in util.go and is as follows

// GetPortandURL returns the URL and Port currently used
/*
'
This function should be used to set the port and url for the program until a
set function is created.
'
*/
func GetPortandURL() (int, string) {
    port := 8080
    url := "http://127.0.0.1"
    return port, url
}

My GOPATH is C:\Users\Me\Documents\code\go

The file structure is as follows

go/src/
└── myproj
    ├── handlers
    ├── main
    └── util

Call it as port, url := GetPortAndURL(). I don't believe it needs the "util." package prefix if util.go (the definition) is in the same package.