讨论数量: 0
    
  
     G02 Go API 实战
    /
    
  
  
          
这一节我们来创建 make request 命令。
app/cmd/make/make_request.go
package make
import (
    "fmt"
    "github.com/spf13/cobra"
)
var CmdMakeRequest = &cobra.Command{
    Use:   "request"
              本文章首发在 LearnKu.com 网站上。
 请登录