dao

package
v0.0.0-...-2d9ebd0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindCreate

func BindCreate(c *gin.Context)

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, sqlHost, sqlDb string, sqlPort int)

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