news

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNews

func GetNews(id string) (res schema.Response)

func GetNewsList

func GetNewsList(input Query) (res schema.List)

func GetNewsListRouter

func GetNewsListRouter(c *gin.Context)

func GetNewsRouter

func GetNewsRouter(c *gin.Context)

Types

type Query

type Query struct {
	schema.Query
	Status *model.NewsStatus `json:"status" form:"status"`
	Type   *model.NewsType   `json:"type" form:"type"`
}

Jump to

Keyboard shortcuts

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