github.com/AngusLu/go-swagger@v0.28.0/generator/templates/cli/modelcli.gotmpl (about)

     1  // Code generated by go-swagger; DO NOT EDIT.
     2  
     3  
     4  {{ if .Copyright -}}// {{ comment .Copyright -}}{{ end }}
     5  
     6  
     7  package cli
     8  
     9  // This file was generated by the swagger tool.
    10  // Editing this file might prove futile when you re-run the swagger generate command
    11  
    12  
    13  import (
    14  	{{ imports .DefaultImports }}
    15      {{ imports .Imports }}
    16  	"github.com/spf13/cobra"
    17  )
    18  
    19  // Schema cli for {{.GoType}}
    20  {{ template "modelschemacli" .}}
    21  
    22  {{ range .ExtraSchemas }}
    23  // Extra schema cli for {{.GoType}}
    24  	{{ template "modelschemacli" .}}
    25  {{ end }}