jacobconley / habitat

Holistic, open-ended web application development platform written in Go, with Node.js integration to support the development of client-side Javascript and CSS code.
1 stars 0 forks source link

Route detection with CLI logging and helper methods #28

Open jacobconley opened 3 years ago

jacobconley commented 3 years ago

We can create another implementation of the router interface that doesn't match or run any routes, and programmatically determine routes based on that.

Helper methods would be cool too, we could use reflection and make like a URLFor( User{ ID: 23 } ). However this opens the can of worms of having to detect which ID field to use, by either committing to an ORM or homebrewing something ourselves

jacobconley commented 3 years ago

May not need to mock it ourselves? Mux has this function. But it'd probably be helpful for us to organize resources or whatever later on

jacobconley commented 3 years ago

Related #34