repositories

package
v0.0.0-...-0067e36 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCheck

func AuthCheck(paramEmail string, controller string, method string) (bool, error)

func GroupGet

func GroupGet(paramId uint) (models.Group, error)

func NewsDestroy

func NewsDestroy(news models.News) (models.News, error)

func NewsFindFirst

func NewsFindFirst() (models.News, error)

func NewsFindLast

func NewsFindLast() (models.News, error)

func NewsGet

func NewsGet(paramID uint) (models.News, error)

func NewsIsExists

func NewsIsExists(title string, id uint) (bool, error)

func NewsList

func NewsList(param map[string]string) ([]models.News, error)

func NewsPublish

func NewsPublish(news models.News) (models.News, error)

func NewsStore

func NewsStore(o models.News) (models.News, error)

func NewsUpdate

func NewsUpdate(oNew models.News) (models.News, error)

func TopicDestroy

func TopicDestroy(id uint) (bool, error)

func TopicFindFirst

func TopicFindFirst() (models.Topic, error)

func TopicFindLast

func TopicFindLast() (models.Topic, error)

func TopicGet

func TopicGet(paramsID uint) (models.Topic, error)

func TopicGetByNewsId

func TopicGetByNewsId(news_id uint) ([]models.Topic, error)

func TopicGetList

func TopicGetList(param map[string]string) ([]models.Topic, error)

func TopicIsExist

func TopicIsExist(title string, id uint) (bool, error)

func TopicStore

func TopicStore(o models.Topic) (models.Topic, error)

func TopicUpdate

func TopicUpdate(o models.Topic) (models.Topic, error)

func UserGet

func UserGet(paramId uint) (models.User, error)

func UserGetByEmail

func UserGetByEmail(paramEmail string) (models.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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