Skip to content

Commit

Permalink
Merge pull request #20 from kohkimakimoto/update-readme
Browse files Browse the repository at this point in the history
update README
  • Loading branch information
kohkimakimoto committed Aug 20, 2023
2 parents 9eb124d + 506fa96 commit 0866580
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ inertia.Render(c, http.StatusOK, "Index", map[string]interface{}{
// OPTIONALLY included on partial reloads...
// ONLY evaluated when needed...
"users": func() (interface{}, error) {
users, err := // get users...
if err != nil {
return nil, err
}
users, err := // get users...
if err != nil {
return nil, err
}
return users
},

Expand All @@ -141,8 +141,8 @@ inertia.Render(c, http.StatusOK, "Index", map[string]interface{}{
"users": inertia.Lazy(func() (interface{}, error) {
users, err := // get users...
if err != nil {
return nil, err
}
return nil, err
}
return users, nil
}),
})
Expand Down

0 comments on commit 0866580

Please sign in to comment.