tools

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: AGPL-3.0 Imports: 7 Imported by: 34

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Addraw

func Addraw(c *gin.Context, d interface{})

func Enableraw

func Enableraw(c *gin.Context, d interface{}, enable bool)

func Findoneraw

func Findoneraw(c *gin.Context, d interface{}, by string)

func Findraw

func Findraw(c *gin.Context, d interface{}, order string)

func Getdbconn

func Getdbconn(c *gin.Context) (db *gorm.DB, ret string)

func RandString

func RandString(n int) string

func Removeraw

func Removeraw(c *gin.Context, d interface{})

func Renameraw

func Renameraw(c *gin.Context, d interface{}, newname string)

func StrIsInt

func StrIsInt(data string) bool

func Updateraw

func Updateraw(c *gin.Context, d interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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