Hello I get the following error undefined: logging.printRamdomly compiler (UndeclaredImportedName) having the following project structure:
// myproject/main.go
package main
import (
"fmt"
logging "github.com/user/myproject/logging"
)
func main() {
logging.printRamdomly() // error in this line
fmt.Println("Hello, World!")
}
// myproject/logging/logging.go
package logging
func printRamdomly() string {
ramdom_word := "word"
return ramdom_word
}
Any help is very welcome
Thank you so much in advance