xianlubird / mydocker

<<自己动手写docker>> 源码
Apache License 2.0
1.98k stars 560 forks source link

len(context.Args()) 显示 invalid argument for len #63

Closed kkBill closed 4 years ago

kkBill commented 4 years ago

https://github.com/xianlubird/mydocker/blob/9ea8dbc2b308c984b55fa590d3a058af3c218473/main_command.go#L59 你好,这一句是不是要改成 context.Args().Len() ,是不是cli 版本升级导致的?