article

package
v0.0.0-...-eb64f0e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ArticleService expose articleServiceProvider
	ArticleService *articleServiceProvider
)

Functions

This section is empty.

Types

type Article

type Article struct {
	ID        bson.ObjectId   `bson:"_id,omitempty"`
	AuthorId  int32           `bson:"authorid"`
	AuditorId int32           `bson:"auditorid"`
	Title     string          `bson:"title"`
	Brief     string          `bson:"brief"`
	Content   string          `bson:"content"`
	Image     string          `bson:"image"`
	TagsID    []bson.ObjectId `bson:"tagsid"`
	Views     uint64          `bson:"views"`
	Created   time.Time       `bson:"created"`
	Updated   time.Time       `bson:"updated"`
	Status    int8            `bson:"status"`
}

Article represents the article information.

Jump to

Keyboard shortcuts

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