Recently i started one school project, i need to make a web forum using only standard Go library. And the main obstacle i have is i don't know how to properly make routing. For example:
router.HandleFunc("/threads", threadsHandler)
router.HandleFunc("/threads/", postsHandler)
It is okay if i have only 2 routes. But i want to be able to handle more complex routes, like:
"/threads/{thread_name}/posts"
How do i do that without using Gorilla/Mux?