github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/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 "encoding/json" 15 "fmt" 16 17 "github.com/spf13/cobra" 18 {{ imports .DefaultImports }} 19 {{ imports .Imports }} 20 ) 21 22 // Schema cli for {{.GoType}} 23 {{ template "modelschemacli" .}} 24 25 {{ range .ExtraSchemas }} 26 // Extra schema cli for {{.GoType}} 27 {{ template "modelschemacli" .}} 28 {{ end }}