export wstest
未关闭
适合新手
enhancement
- 主要语言
- Go
- 星标
- 5.5k
- 派生
- 372
- PR 合并指标
- 30 天内没有已合并 PR
描述
Pipe function here: https://github.com/nhooyr/websocket/blob/master/internal/test/wstest/pipe.go#L17 is inside the internal package which means it can't be imported by other projects.
However it should be external so that it can be imported by other projects. This could help in unit testing of the projects
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 internal/test/wstest/pipe.go 第 17 行开始,检查 Pipe 函数的打包和引用方式。在保留其测试用途的同时,使外部 Go 项目可以导入该实用工具,然后验证下游项目无需依赖 internal 包即可访问它。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- testing
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 68/100