iansmith / parigot

Develop as a monolith, deploy as microservices.
https://parigot.info
BSD 3-Clause "New" or "Revised" License
12 stars 1 forks source link

No Locate() without Require() #9

Closed iansmith closed 1 year ago

iansmith commented 1 year ago

Add some bookkeeping so that user program cannot call Locate() on something they did not require.

This situation clearly results from a broken program and the Locate() should panic.