We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driven by the conversation at #411 (comment), there are a few inconsitencies in a few places regarding the import order and grouping of dependencies.
The ask of this issue is to address and look into potential solutions to ensure a consitent order / grouping to depenendencies across the files.
The text was updated successfully, but these errors were encountered:
This is my own personal taste:
Three groups:
For example
import ( "context" "encoding/json" "github.com/go-logr/logr" apierrors "k8s.io/apimachinery/pkg/api/errors" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "sigs.k8s.io/controller-runtime/pkg/handler" gatewayapiv1 "sigs.k8s.io/gateway-api/apis/v1" kuadrantv1beta2 "github.com/kuadrant/kuadrant-operator/api/v1beta2" "github.com/kuadrant/kuadrant-operator/pkg/common" "github.com/kuadrant/kuadrant-operator/pkg/reconcilers" )
goimport orders your imports alphabetically and also maintains any groupings you make
goimport
Sorry, something went wrong.
Boomatang
Successfully merging a pull request may close this issue.
Driven by the conversation at #411 (comment), there are a few inconsitencies in a few places regarding the import order and grouping of dependencies.
The ask of this issue is to address and look into potential solutions to ensure a consitent order / grouping to depenendencies across the files.
The text was updated successfully, but these errors were encountered: