1 Star 3 Fork 1

Joshua Conero / uymas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
param.go 382 Bytes
一键复制 编辑 原始数据 按行查看 历史
Joshua Conero 提交于 2024-03-01 11:49 . doc: optimize the doc of code
package util
import (
"gitee.com/conero/uymas/util/constraints"
"gitee.com/conero/uymas/util/rock"
)
// ExtractParam Extract indefinite parameters from functions and default code values
// Deprecated: please replace by `rock.ExtractParam`,will remove in future
func ExtractParam[T constraints.Equable](defValue T, args ...T) T {
return rock.ExtractParam(defValue, args...)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/conero/uymas.git
git@gitee.com:conero/uymas.git
conero
uymas
uymas
v1.4.0

搜索帮助