gocommend golang推荐系统。 发展... 下面的 CLI 示例代码 package main import ( "fmt" "gocommend" "log" "os" ) func main () { //gocommend.Redistest() argNum := len ( os . Args ) handle := os . Args [ 1 ] collection := os . Args [ 2 ] switch handle { case "importPoll" : if argNum != 5 { fmt . Println ( "num of input params shuold be 5" ) return } userId := os . Args [ 3 ] itemId := os .