要求输入未定义的Go

i have problem about import on go lang. How to call package routes and function getRoute(my own function) on golang?

my main package is

package main
import(
    "github.com/majalah/apps/routes"
)
func main() {
    routes.getRoute()
}

and my routes package inside apps and folder routes

package routes

func getRoute() {

}

it's always error

4.2 imported and not used "routes"
8.2 undefined "routes"

function start with lower case is an unexport function. An unexport function can be used only inside the package. You have to export getRoute function by changing the function name to GetRoute.