dao

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTodo

func CreateTodo(c *gin.Context)

创建todo

func DeleteTodo

func DeleteTodo(c *gin.Context)

deleteTodo 删除一个todo

func FetchAllTodo

func FetchAllTodo(c *gin.Context)

fetchAllTodo 获取所有Todo

func FetchSingleTodo

func FetchSingleTodo(c *gin.Context)

fetchSingleTodo 获取单个Todo

func Init

func Init(sqlUser, sqlPass string)

func UpdateTodo

func UpdateTodo(c *gin.Context)

updateTodo 更新单个todo

Types

This section is empty.

Jump to

Keyboard shortcuts

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