package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 5, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SortByKeys(m map[string]interface{}) map[string]interface{}
SortByKeys 递归地对map的键进行排序
func StructToMapJSONTag(item interface{}) map[string]interface{}
StructToMapJSONTag 根据json tag将struct转map
NewDebug 返回一个debug对象
通过环境变量开启debug功能
变量名:HUIFU_DEBUG
不同模块按`,`隔开,all表示全部开启
支持模块:
pay: v2包
webhook: webhook包
func (d *Debug) Printf(format string, args ...interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.