util

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

util包用于提供各种实用工具函数

util包用于提供各种实用工具函数

util包用于提供各种实用工具函数

util包用于提供各种实用工具函数

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEvUserID

func GetEvUserID(ctx *gin.Context) int

GetEvUserID 从gin上下文中获取EVE用户ID

func GetPluginID added in v0.0.12

func GetPluginID(ctx *gin.Context) string

func LessThan

func LessThan(v1, v2 string) bool

LessThan 比较两个版本字符串,判断v1是否小于v2

func LoadJsonAndParse

func LoadJsonAndParse(f string, res interface{}) error

LoadJsonAndParse 从文件加载JSON并解析到指定结构

func WaitQuit

func WaitQuit(fns ...func())

WaitQuit 等待程序退出信号,并执行清理函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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