sqldb

package
v0.0.0-...-34674f1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteComment

func DeleteComment(comment *model.Comment) (err error)

func FindCommentById

func FindCommentById(id int) (comment *model.Comment, err error)

func InitSqlite

func InitSqlite(dbPath string) (err error)

func InsertComment

func InsertComment(comment *model.Comment) (err error)

func ListComment

func ListComment(pageNo int, pageSize int) (comments []*model.Comment, err error)

func SaveRequestLog

func SaveRequestLog(reqLog *model.RequestLog) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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