Format go resource (#71370)

* Format Go resource

* Format tabs

* use format library

* Undo template change

* Apply suggestion
This commit is contained in:
Selene
2023-07-11 16:41:18 +02:00
committed by GitHub
parent 850a7a7d39
commit 8b419f624f
12 changed files with 28 additions and 32 deletions
+2 -3
View File
@@ -30,11 +30,10 @@ func NewK8sResource(name string, s *Spec) K8sResource {
}
}
// Resource is the wire representation of LibraryPanel.
// It currently will soon be merged into the k8s flavor (TODO be better)
type Resource struct {
Metadata Metadata `json:"metadata"`
Spec Spec `json:"spec"`
Status Status `json:"status"`
Spec Spec `json:"spec"`
Status Status `json:"status"`
}