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.
solved ask import undefined Go
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.
solved ask import undefined Go