1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-04 05:16:23 +08:00

commands: Refactored Command#Run function signature to (req Request, res Response)

This commit is contained in:
Matt Bell
2015-01-20 17:58:50 -08:00
parent 856d2896a7
commit 7b4de230eb
27 changed files with 426 additions and 236 deletions

View File

@ -2,8 +2,8 @@ package commands
import "testing"
func noop(req Request) (interface{}, error) {
return nil, nil
func noop(req Request, res Response) {
return
}
func TestOptionValidation(t *testing.T) {