Documentation ¶ Index ¶ type Repo func NewRepo(scope *gocb.Scope, controller controllers.Controller) *Repo func (r *Repo) AddNews(c echo.Context) error func (r *Repo) DeleteNews(c echo.Context) error func (r *Repo) EditNews(c echo.Context) error func (r *Repo) GetNewsById(c echo.Context) error func (r *Repo) GetNewsLatest(c echo.Context) error func (r *Repo) ListAllNews(c echo.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Repo ¶ type Repo struct { // contains filtered or unexported fields } func NewRepo ¶ func NewRepo(scope *gocb.Scope, controller controllers.Controller) *Repo func (*Repo) AddNews ¶ func (r *Repo) AddNews(c echo.Context) error func (*Repo) DeleteNews ¶ func (r *Repo) DeleteNews(c echo.Context) error func (*Repo) EditNews ¶ func (r *Repo) EditNews(c echo.Context) error func (*Repo) GetNewsById ¶ func (r *Repo) GetNewsById(c echo.Context) error func (*Repo) GetNewsLatest ¶ func (r *Repo) GetNewsLatest(c echo.Context) error func (*Repo) ListAllNews ¶ func (r *Repo) ListAllNews(c echo.Context) error Source Files ¶ View all Source files news.go Click to show internal directories. Click to hide internal directories.