mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-25 15:08:45 +08:00
core/commands: Made add command output a channel
core/commands: Don't use pointers for Type field
This commit is contained in:
@ -41,5 +41,5 @@ var VersionCmd = &cmds.Command{
|
||||
return strings.NewReader(fmt.Sprintf("ipfs version %s\n", v.Version)), nil
|
||||
},
|
||||
},
|
||||
Type: &VersionOutput{},
|
||||
Type: VersionOutput{},
|
||||
}
|
||||
|
Reference in New Issue
Block a user