Original post

Is it ok to import the same folder several times? I do it like this becouse the files of my routes are in that folder and I add the identifier to know what route it is and then call the function.

inside my routes folder i have

routes_
       |_ route_1.
       |_ route_2.go
       |_ route_3.go

Import example

import(
    Route1 "./routes"
    Route2 "./routes"
    Route3 "./routes"
)

func main(){
    Route1.get()
    Route2.post()
    Route3.put()
}