Renaming vars

This commit is contained in:
Mike Holloway 2024-08-25 17:11:39 -04:00
parent 2f095a8928
commit 84155e8590

View File

@ -23,7 +23,7 @@ func main() {
anvildb := ConnectAnvilDB(dsn)
// Turn these into funcs with error handling, logging, return vals etc.
if usererr := anvildb.NewSelect().
// Turning *Feed into an interface &Feed{}
// Turning *User into an interface &User{}
Model(&User{}).
OrderExpr("user_uuid ASC").
Limit(10).