luminus

joefromct 2020-04-15T00:39:13.025700Z

Should be from the mount library, I think the docs specify the precedents

joefromct 2020-04-15T00:40:09.026400Z

Oh wait it’s cprops I’m thinking of

joefromct 2020-04-15T00:41:08.027400Z

This has clues on the order. https://github.com/tolitius/cprop/blob/master/README.md#loading-config When you get use to it it’s really nice and offers a lot of flexibility

jtth 2020-04-15T19:13:38.029700Z

if i have a user table with a primary key set to auto-increment, but i want to check to make sure a new user doesn’t try to register with an existing email address, would i make a struct validator that calls a hug-sql function to look up to make sure no one has that email address, or is there some better way? what’s the idiomatic way? (also, props to anyone who has a recommendation for a package so i don’t have to manage things at this level)