context.go测试用例#24
Merged
devfeel merged 17 commits intodevfeel:masterfrom Jun 15, 2017
zouyx:master
Merged
Conversation
update crypts package
* dotweb.DotWeb.ListenAndServer(addr string) 支持原生host监听 * dotweb.Context增加Context() & SetTimeoutContext() & WithContext() * dotweb.Request增加自动生成unique RequestID,通过RequestID()获取,默认置入dotweb.Context.context中,以RequestID为key * dotweb.DotWeb增加Close()、Shutdown() 2017-06-14 23:30
* 新增DotWeb & HttpServer.ListenAndServer(addr string) 支持原生host监听 * 新增DotWeb Close() & Shutdown() 支持优雅关闭服务 * Context增加Context() & SetTimeoutContext() & WithContext() * Request增加自动生成unique RequestID,通过RequestID()获取,默认置入dotweb.Context.context中,以RequestID为key * 2017-06-14 23:10
* 新增DotWeb & HttpServer.ListenAndServer(addr string) 支持原生host监听 * 新增DotWeb Close() & Shutdown() 支持优雅关闭服务 * Context增加Context() & SetTimeoutContext() & WithContext() * Request增加自动生成unique RequestID,通过RequestID()获取,默认置入dotweb.Context.context中,以RequestID为key * 2017-06-14 23:10
# Conflicts: # bind_test.go # test/util.go
devfeel
added a commit
that referenced
this pull request
Mar 3, 2026
2 tasks
devfeel
added a commit
that referenced
this pull request
Mar 3, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
context.go测试用例
需要注意的是以下测试用例.
TestWriteString
结果是:
该用例是跑不过的- -,返回值是一个[]uint8数组而不是string