Created
January 19, 2020 13:18
-
-
Save yutakahashi114/5d986d04aeffc3b63173f6e3608719fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
us := []user{} | |
count, err = engine. | |
Limit(10, 10). | |
Asc("id", "first_name"). | |
Desc("last_name"). | |
FindAndCount(&us3) | |
if err != nil { | |
log.Println(err) | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment