Renaming vars
This commit is contained in:
parent
2f095a8928
commit
84155e8590
2
main.go
2
main.go
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user