comment_dao

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentAdd

func CommentAdd(name, user, comment string) error

CommentAdd 评论新增(只会存在插入情况) date直接来自于服务器

func CommentDelete

func CommentDelete(name string, id int) error

CommentDelete 评论删除

func CommentQuery

func CommentQuery(name string) []article.DB_BLOG_COMMENTS

CommentQuery 获取评论 根据配置支持不同方式获取

func CommentQueryAll

func CommentQueryAll() []article.DB_BLOG_COMMENTS

func CommentUpdate

func CommentUpdate(name string, id int, com string) error

CommentUpdate 评论的更新

Types

This section is empty.

Jump to

Keyboard shortcuts

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