utility

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForDebug

func ForDebug(test ...interface{})

ForDebug 用于测试

func GetCurrentTime

func GetCurrentTime() (localTime string)

GetCurrentTime 获取当前时间

func GetOutBoundIP

func GetOutBoundIP() (ip string, err error)

GetOutBoundIP 获取机器人部署的当前ip

func IsInSlice

func IsInSlice(target string, slice []string) bool

IsInSlice 判断机器人是否被at到

@param target
@param slice
@return bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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