coder / coder/websocket

export wstest

Ouverte Adaptée aux débutants
#340 5 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Go
Étoiles
5.5k
Forks
372
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with internal/test/wstest/pipe.go at line 17 and inspect how the Pipe function is packaged and referenced. Make the utility importable by external Go projects while preserving its testing purpose, then verify that downstream projects can access it without relying on the internal package.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go
Domaine
testing
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Calme
Clarté
Clairement spécifiée
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.