imports.tmpl 728 B

123456789101112131415161718192021222324252627282930313233
  1. // Package {{.PackageName}} provides primitives to interact with the openapi HTTP API.
  2. //
  3. // Code generated by {{.ModuleName}} version {{.Version}} DO NOT EDIT.
  4. package {{.PackageName}}
  5. import (
  6. "bytes"
  7. "compress/gzip"
  8. "context"
  9. "encoding/base64"
  10. "encoding/json"
  11. "encoding/xml"
  12. "fmt"
  13. "gopkg.in/yaml.v3"
  14. "io"
  15. "io/ioutil"
  16. "net/http"
  17. "net/url"
  18. "path"
  19. "strings"
  20. "time"
  21. "github.com/deepmap/oapi-codegen/pkg/runtime"
  22. openapi_types "github.com/deepmap/oapi-codegen/pkg/types"
  23. ihttp "github.com/influxdata/influxdb-client-go/v2/api/http"
  24. "github.com/getkin/kin-openapi/openapi3"
  25. "github.com/go-chi/chi/v5"
  26. "github.com/labstack/echo/v4"
  27. "github.com/pkg/errors"
  28. {{- range .ExternalImports}}
  29. {{ . }}
  30. {{- end}}
  31. )