controller

package
v0.0.0-...-f8c46ef Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCommentTable

func CreateCommentTable(db *pg.DB) error

func GetPostsFromDb

func GetPostsFromDb() []*model.Post

func InitiateDB

func InitiateDB(db *pg.DB)

func StorePosts

func StorePosts(posts []*model.Post) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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