news

package
v0.0.0-...-8bc6207 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL