Feature Request: function to detect a valid Token
還沒有人認領這個 Issue。
評估
研究方向
首先檢查 httpsfv 現有的 token 解析和序列化入口。新增一種公開方式來判定 Go 字串是否為有效的 RFC token,並驗證有效和無效的 token 字串是否與函式庫現有的行為一致地加以區分。
由索引模型根據 Issue 內容生成。
描述
I have a case where the RFC I'm implementing defines a value as "either a String or a Token". I suppose I could always use String, but it would be nice to have a function in httpsfv to tell me whether a Go string is a valid Token so that I could cast it accordingly.
- 主要語言
- Go
- 星號
- 75
- 分支
- 11
- 平均合併
- 7 天 11 小時
- 30 天內合併 PR
- 1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 84/100
-
enhancement needs triage
難度 2/5 1-3 小時 新手友好度 68/100
-
kind/cleanup
難度 2/5 1-3 小時 新手友好度 88/100
kubernetes-sigs/kueue#15947 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
sympozium-ai/sympozium#627 ·
-
難度 2/5 1-3 小時 新手友好度 86/100