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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user