util

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLog

func AddLog(id int, uname string, uid int64, oid int64, action string, obj interface{}) (err error)

AddLog add action log

func AddLogs

func AddLogs(logtype int, uname string, uid int64, oid int64, action string, obj interface{}) (err error)

AddLogs add action logs

func CTimeStr

func CTimeStr() (cTime string)

CTimeStr current time string

func TrimStrSpace

func TrimStrSpace(v string) string

TrimStrSpace trim string space

func UserInfo

func UserInfo(c *bm.Context) (uid int64, username string)

UserInfo get login userinfo

Types

This section is empty.

Jump to

Keyboard shortcuts

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