(app *App, cr *collectionReq, r *http.Request, isPostReq bool)
| 825 | } |
| 826 | |
| 827 | func checkUserForCollection(app *App, cr *collectionReq, r *http.Request, isPostReq bool) (*User, error) { |
| 828 | u := getUserSession(app, r) |
| 829 | return u, nil |
| 830 | } |
| 831 | |
| 832 | func newDisplayCollection(c *Collection, cr *collectionReq, page int) (*DisplayCollection, error) { |
| 833 | coll := &DisplayCollection{ |
no test coverage detected