Add mock of the messages page
This commit is contained in:
parent
7d33354acb
commit
8150af5889
3 changed files with 379 additions and 0 deletions
14
sync/messages.go
Normal file
14
sync/messages.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package sync
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
||||
)
|
||||
|
||||
type contentMessageList struct{}
|
||||
|
||||
func getMessageList(ctx context.Context, user *models.User) (string, interface{}, *errorWithStatus) {
|
||||
content := contentMessageList{}
|
||||
return "sync/message-list.html", content, nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue