formatted code with go fmt

This commit is contained in:
Alekzus 2022-03-14 17:35:30 +01:00
parent be07d31747
commit ff9aa904c6
5 changed files with 64 additions and 64 deletions

View file

@ -18,7 +18,7 @@ var createCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(createCmd)
createCmd.PersistentFlags().BoolP("json", "j", false, "Outputs JSON")
createCmd.PersistentFlags().BoolP("json", "j", false, "Outputs JSON")
createCmd.AddCommand(resource.ResourceCreateCmd)
createCmd.AddCommand(folder.FolderCreateCmd)
createCmd.AddCommand(group.GroupCreateCmd)

View file

@ -18,7 +18,7 @@ var getCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(getCmd)
getCmd.PersistentFlags().BoolP("json", "j", false, "Outputs JSON")
getCmd.PersistentFlags().BoolP("json", "j", false, "Outputs JSON")
getCmd.AddCommand(resource.ResourceGetCmd)
getCmd.AddCommand(folder.FolderGetCmd)
getCmd.AddCommand(group.GroupGetCmd)

View file

@ -18,7 +18,7 @@ var listCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(listCmd)
listCmd.PersistentFlags().BoolP("json", "j", false, "Outputs JSON")
listCmd.PersistentFlags().BoolP("json", "j", false, "Outputs JSON")
listCmd.AddCommand(resource.ResourceListCmd)
listCmd.AddCommand(folder.FolderListCmd)
listCmd.AddCommand(group.GroupListCmd)