zhuoyue100 最近的时间轴更新
zhuoyue100

zhuoyue100

V2EX 第 609814 号会员,加入于 2023-01-09 14:28:03 +08:00
根据 zhuoyue100 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
zhuoyue100 最近回复了
@CEBBCAT 感谢,_, ok := ctx.(*gin.Context) 这种可以实现我的需求,但是后续有其他的 content.Context 实现类型那就要在写一个判断了。 你刚才说的 ”目前不支持基于 interface 实现的函数替换” 对我很有用
@body007
@dcalsky
谢谢,还有一个问题

type fn func(ctx context.Context) []string

func test() fn {
return func(ctx *gin.Context) []string { // 这里必须传接口实现 struct 为什么不行,项目中需要这么用,有没有办法?
return []string{"1"}
}
}

func main() {
t := test()
_, ok := any(t).(fn)
fmt.Println(ok)
}
89 天前
回复了 zhuoyue100 创建的主题 Vue.js 新手 vue3 样式问题
@frankyuu 好的,谢谢~
89 天前
回复了 zhuoyue100 创建的主题 Vue.js 新手 vue3 样式问题
@vinsony 我全局引入的样式优先级高于 scope, 我在浏览器上看到全局样式会自动加上 data-v-hash 属性,这是为什么
89 天前
回复了 zhuoyue100 创建的主题 Vue.js 新手 vue3 样式问题
@zerodli 好的,感谢~
156 天前
回复了 zhuoyue100 创建的主题 求职 Go, PHP 全栈找个远程岗,或接单
@peter986 你给我发个邮件吧 [email protected]
156 天前
回复了 zhuoyue100 创建的主题 求职 Go, PHP 全栈找个远程岗,或接单
@humbass 怎么可能,你是有什么需求?
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1137 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 23:46 · PVG 07:46 · LAX 16:46 · JFK 19:46
Developed with CodeLauncher
♥ Do have faith in what you're doing.