提交 ea15bd6f 作者: Brian Tiger Chow 提交者: Juan Batiz-Benet

docs(commands) amend

上级 e6f2de40
...@@ -42,8 +42,8 @@ type Command struct { ...@@ -42,8 +42,8 @@ type Command struct {
Marshallers map[EncodingType]Marshaller Marshallers map[EncodingType]Marshaller
// Type describes the type of the output of the Command's Run Function. // Type describes the type of the output of the Command's Run Function.
// Precisely, the value of Type is an instance of the return type of the // In precise terms, the value of Type is an instance of the return type of
// Run Function. // the Run Function.
// //
// ie. If command Run returns &Block{}, then Command.Type == &Block{} // ie. If command Run returns &Block{}, then Command.Type == &Block{}
Type interface{} Type interface{}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论