forked from pkg/sftp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates pkg#192 Move handle() onto *Request, this has flow on effects to the interface types declared in request-interface.go, the examples and the tests. The decision to address pkg#192 started with advice from gopl.io, but I think has uncovered several bugs as many of the request methods operate on copies of data stored in the RequestServer's cache. I think this is unintentional, but may point to some correctness issues, see pkg#193.
- Loading branch information
1 parent
1a91f31
commit f2782dd
Showing
4 changed files
with
27 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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