topicController

package
v0.0.0-...-ada85f3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTopic

func CreateTopic(c *gin.Context)

CreateTopic save topic to db

func DeleteTopic

func DeleteTopic(c *gin.Context)

DeleteTopic is a function that will recieve and delete

func GetTopicByID

func GetTopicByID(c *gin.Context)

GetTopicByID is a function that can return Topic by topic's id

func GetTopics

func GetTopics(c *gin.Context)

GetTopics is a function that can return all of tables

Types

This section is empty.

Jump to

Keyboard shortcuts

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