models

package
v0.0.0-...-632f8f1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArticles

func GetArticles(Articles *[]Posts)

func GetCate

func GetCate(Cate *[]Category)

Types

type Category

type Category struct {
	Id   int
	Name string
}

type Posts

type Posts struct {
	Id      int
	Title   string
	Info    string
	Content string
	Author  string
	Tags    string
	Created string
}

func GetArticle

func GetArticle(Id int) (Post Posts, error error)

Jump to

Keyboard shortcuts

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