Update dashboard.go
This commit is contained in:
parent
b8ff2e3e2f
commit
5083d67a62
@ -24,12 +24,12 @@ func Get(ctx *aero.Context) string {
|
|||||||
|
|
||||||
// Get dashboard.
|
// Get dashboard.
|
||||||
func Dashboard(ctx *aero.Context) string {
|
func Dashboard(ctx *aero.Context) string {
|
||||||
user := utils.GetUser(ctx)
|
|
||||||
var posts []*arn.Post
|
var posts []*arn.Post
|
||||||
var err error
|
var err error
|
||||||
var followIDList []string
|
var followIDList []string
|
||||||
var userList interface{}
|
var userList interface{}
|
||||||
var followingList []*arn.User
|
var followingList []*arn.User
|
||||||
|
user := utils.GetUser(ctx)
|
||||||
|
|
||||||
flow.Parallel(func() {
|
flow.Parallel(func() {
|
||||||
posts, err = arn.AllPostsSlice()
|
posts, err = arn.AllPostsSlice()
|
||||||
|
Loading…
Reference in New Issue
Block a user