diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a26db873..3389cecd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,21 +20,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4.1.1 - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v4.0.1 + uses: actions/setup-go@v4.1.0 with: - go-version: 1.20.5 + go-version: 1.21.3 - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5.3.0 + uses: crazy-max/ghaction-import-gpg@v6.0.0 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4.3.0 + uses: goreleaser/goreleaser-action@v5.0.0 with: version: latest args: release --rm-dist diff --git a/cmd/calendaracl_delete.go b/cmd/calendaracl_delete.go index bbc24430..934e5da2 100644 --- a/cmd/calendaracl_delete.go +++ b/cmd/calendaracl_delete.go @@ -30,7 +30,7 @@ import ( var calendarACLDeleteCmd = &cobra.Command{ Use: "delete", Short: "Deletes an access control rule.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/delete`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/delete`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendaracl_delete_batch.go b/cmd/calendaracl_delete_batch.go index abc5c78d..3cd7cdc9 100644 --- a/cmd/calendaracl_delete_batch.go +++ b/cmd/calendaracl_delete_batch.go @@ -31,7 +31,7 @@ import ( var calendarACLDeleteBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch deletes ACL rules using a CSV file as input.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/delete`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/delete`, Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendaracl_get.go b/cmd/calendaracl_get.go index 1b879f04..e00e977d 100644 --- a/cmd/calendaracl_get.go +++ b/cmd/calendaracl_get.go @@ -30,7 +30,7 @@ import ( var calendarACLGetCmd = &cobra.Command{ Use: "get", Short: "Returns an access control rule.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/get`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/get`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendaracl_get_batch.go b/cmd/calendaracl_get_batch.go index 703da274..18bdfa57 100644 --- a/cmd/calendaracl_get_batch.go +++ b/cmd/calendaracl_get_batch.go @@ -32,7 +32,7 @@ import ( var calendarACLGetBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch gets ACL rules using a CSV file as input.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/get`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/get`, Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendaracl_insert.go b/cmd/calendaracl_insert.go index 670823a3..b1f1626b 100644 --- a/cmd/calendaracl_insert.go +++ b/cmd/calendaracl_insert.go @@ -30,7 +30,7 @@ import ( var calendarACLInsertCmd = &cobra.Command{ Use: "insert", Short: "Creates an access control rule.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/insert`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/insert`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendaracl_insert_batch.go b/cmd/calendaracl_insert_batch.go index 57559d72..a60bbd8d 100644 --- a/cmd/calendaracl_insert_batch.go +++ b/cmd/calendaracl_insert_batch.go @@ -32,7 +32,7 @@ import ( var calendarACLInsertBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch inserts ACL rules using a CSV file as input.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/insert`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/insert`, Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendaracl_list.go b/cmd/calendaracl_list.go index 51bd867a..ec00d93c 100644 --- a/cmd/calendaracl_list.go +++ b/cmd/calendaracl_list.go @@ -31,7 +31,7 @@ import ( var calendarACLListCmd = &cobra.Command{ Use: "list", Short: "Returns the rules in the access control list for the calendar.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/list`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/list`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendaracl_list_batch.go b/cmd/calendaracl_list_batch.go index 063200bf..43d340cb 100644 --- a/cmd/calendaracl_list_batch.go +++ b/cmd/calendaracl_list_batch.go @@ -32,7 +32,7 @@ import ( var calendarACLListBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch lists ACL rules using a CSV file as input.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/list`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/list`, Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendaracl_patch.go b/cmd/calendaracl_patch.go index 94326433..08c8798b 100644 --- a/cmd/calendaracl_patch.go +++ b/cmd/calendaracl_patch.go @@ -30,7 +30,7 @@ import ( var calendarACLPatchCmd = &cobra.Command{ Use: "patch", Short: "Updates an access control rule. This method supports patch semantics.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/patch`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/patch`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendaracl_patch_batch.go b/cmd/calendaracl_patch_batch.go index 36b3b5da..decf631e 100644 --- a/cmd/calendaracl_patch_batch.go +++ b/cmd/calendaracl_patch_batch.go @@ -32,7 +32,7 @@ import ( var calendarACLPatchBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch patches ACL rules using a CSV file as input.", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/acl/patch`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/acl/patch`, Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendarlists.go b/cmd/calendarlists.go index 1229a8ff..3679153a 100644 --- a/cmd/calendarlists.go +++ b/cmd/calendarlists.go @@ -31,7 +31,7 @@ import ( var calendarListsCmd = &cobra.Command{ Use: "calendarLists", Short: "Manage entries in users' calendar list (Part of Calendar API)", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { err := cmd.Help() diff --git a/cmd/calendarlists_delete.go b/cmd/calendarlists_delete.go index d8fb6379..8693aceb 100644 --- a/cmd/calendarlists_delete.go +++ b/cmd/calendarlists_delete.go @@ -30,7 +30,7 @@ import ( var calendarListsDeleteCmd = &cobra.Command{ Use: "delete", Short: "Removes a calendar from the user's calendar list.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/delete", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/delete", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendarlists_delete_batch.go b/cmd/calendarlists_delete_batch.go index e8081d26..673875e5 100644 --- a/cmd/calendarlists_delete_batch.go +++ b/cmd/calendarlists_delete_batch.go @@ -31,7 +31,7 @@ import ( var calendarListsDeleteBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch deletes calendars from the user's calendar list using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/delete", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/delete", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendarlists_get.go b/cmd/calendarlists_get.go index 2b54d35b..ba545ac6 100644 --- a/cmd/calendarlists_get.go +++ b/cmd/calendarlists_get.go @@ -30,7 +30,7 @@ import ( var calendarListsGetCmd = &cobra.Command{ Use: "get", Short: "Returns a calendar from the user's calendar list.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/get", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendarlists_get_batch.go b/cmd/calendarlists_get_batch.go index a3aad05d..2751683d 100644 --- a/cmd/calendarlists_get_batch.go +++ b/cmd/calendarlists_get_batch.go @@ -32,7 +32,7 @@ import ( var calendarListsGetBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch returns calendars from the user's calendar list using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/get", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendarlists_insert.go b/cmd/calendarlists_insert.go index c48b7024..1632e3fb 100644 --- a/cmd/calendarlists_insert.go +++ b/cmd/calendarlists_insert.go @@ -30,7 +30,7 @@ import ( var calendarListsInsertCmd = &cobra.Command{ Use: "insert", Short: "Inserts an existing calendar into the user's calendar list.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/insert", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/insert", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendarlists_insert_batch.go b/cmd/calendarlists_insert_batch.go index 752cab47..bb59f0bd 100644 --- a/cmd/calendarlists_insert_batch.go +++ b/cmd/calendarlists_insert_batch.go @@ -32,7 +32,7 @@ import ( var calendarListsInsertBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch inserts existing calendar entries using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/insert", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/insert", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendarlists_list.go b/cmd/calendarlists_list.go index 8564da2e..7b9fb608 100644 --- a/cmd/calendarlists_list.go +++ b/cmd/calendarlists_list.go @@ -31,7 +31,7 @@ import ( var calendarListsListCmd = &cobra.Command{ Use: "list", Short: "Returns the calendars on the user's calendar list.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/list", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/list", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendarlists_patch.go b/cmd/calendarlists_patch.go index f1fca344..cfd6846b 100644 --- a/cmd/calendarlists_patch.go +++ b/cmd/calendarlists_patch.go @@ -30,7 +30,7 @@ import ( var calendarListsPatchCmd = &cobra.Command{ Use: "patch", Short: "Updates an existing calendar on the user's calendar list. This method supports patch semantics.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/patch", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/patch", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendarlists_patch_batch.go b/cmd/calendarlists_patch_batch.go index abb85e9d..6f8ba4b3 100644 --- a/cmd/calendarlists_patch_batch.go +++ b/cmd/calendarlists_patch_batch.go @@ -32,7 +32,7 @@ import ( var calendarListsPatchBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch patches existing calendar list entries using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendarList/patch", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendarList/patch", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendars.go b/cmd/calendars.go index 8a2144fb..b030bab4 100644 --- a/cmd/calendars.go +++ b/cmd/calendars.go @@ -30,7 +30,7 @@ import ( var calendarsCmd = &cobra.Command{ Use: "calendars", Short: "Manage users' calendars (Part of Calendar API)", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { err := cmd.Help() diff --git a/cmd/calendars_clear.go b/cmd/calendars_clear.go index 981caf8b..9b605e9f 100644 --- a/cmd/calendars_clear.go +++ b/cmd/calendars_clear.go @@ -31,7 +31,7 @@ var calendarsClearCmd = &cobra.Command{ Use: "clear", Short: `Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.`, - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/clear", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/clear", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendars_delete.go b/cmd/calendars_delete.go index ab8a5e52..b0cd6ea2 100644 --- a/cmd/calendars_delete.go +++ b/cmd/calendars_delete.go @@ -31,7 +31,7 @@ var calendarsDeleteCmd = &cobra.Command{ Use: "delete", Short: `Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.`, - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/delete", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/delete", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendars_delete_batch.go b/cmd/calendars_delete_batch.go index 09972d10..5ca6582c 100644 --- a/cmd/calendars_delete_batch.go +++ b/cmd/calendars_delete_batch.go @@ -31,7 +31,7 @@ import ( var calendarsDeleteBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch deletes secondary calendars using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/delete", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/delete", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendars_get.go b/cmd/calendars_get.go index 7b3080f3..fb442b36 100644 --- a/cmd/calendars_get.go +++ b/cmd/calendars_get.go @@ -30,7 +30,7 @@ import ( var calendarsGetCmd = &cobra.Command{ Use: "get", Short: `Returns metadata for a calendar.`, - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/get", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendars_get_batch.go b/cmd/calendars_get_batch.go index 31362183..b45f54f8 100644 --- a/cmd/calendars_get_batch.go +++ b/cmd/calendars_get_batch.go @@ -32,7 +32,7 @@ import ( var calendarsGetBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch gets secondary calendars using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/get", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendars_insert.go b/cmd/calendars_insert.go index 54007ead..16f6afb1 100644 --- a/cmd/calendars_insert.go +++ b/cmd/calendars_insert.go @@ -30,7 +30,7 @@ import ( var calendarsInsertCmd = &cobra.Command{ Use: "insert", Short: `Creates a secondary calendar.`, - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/insert", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/insert", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendars_insert_batch.go b/cmd/calendars_insert_batch.go index 87d93308..5a7a5e71 100644 --- a/cmd/calendars_insert_batch.go +++ b/cmd/calendars_insert_batch.go @@ -32,7 +32,7 @@ import ( var calendarsInsertBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch inserts secondary calendars using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/insert", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/insert", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendars_patch.go b/cmd/calendars_patch.go index 51072281..e5ad1e69 100644 --- a/cmd/calendars_patch.go +++ b/cmd/calendars_patch.go @@ -30,7 +30,7 @@ import ( var calendarsPatchCmd = &cobra.Command{ Use: "patch", Short: `Updates metadata for a calendar.`, - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/patch", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/patch", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendars_patch_batch.go b/cmd/calendars_patch_batch.go index 462c726d..04e3cece 100644 --- a/cmd/calendars_patch_batch.go +++ b/cmd/calendars_patch_batch.go @@ -32,7 +32,7 @@ import ( var calendarsPatchBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch patches secondary calendars using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/calendars/patch", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/calendars/patch", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendarsettings.go b/cmd/calendarsettings.go index f2cadccd..63fd841b 100644 --- a/cmd/calendarsettings.go +++ b/cmd/calendarsettings.go @@ -29,7 +29,7 @@ import ( var calendarSettingsCmd = &cobra.Command{ Use: "calendarSettings", Short: "See users' calendar settings (Part of Calendar API)", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/settings", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/settings", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { err := cmd.Help() diff --git a/cmd/calendarsettings_get.go b/cmd/calendarsettings_get.go index acdd14dc..da73d6ed 100644 --- a/cmd/calendarsettings_get.go +++ b/cmd/calendarsettings_get.go @@ -30,7 +30,7 @@ import ( var calendarSettingsGetCmd = &cobra.Command{ Use: "get", Short: "Returns a single user setting.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/settings/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/settings/get", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/calendarsettings_get_batch.go b/cmd/calendarsettings_get_batch.go index aeab46de..097533cf 100644 --- a/cmd/calendarsettings_get_batch.go +++ b/cmd/calendarsettings_get_batch.go @@ -32,7 +32,7 @@ import ( var calendarSettingsGetBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch gets calendar settings using a CSV file as input", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/settings/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/settings/get", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/calendarsettings_list.go b/cmd/calendarsettings_list.go index f80b2862..0237c03f 100644 --- a/cmd/calendarsettings_list.go +++ b/cmd/calendarsettings_list.go @@ -31,7 +31,7 @@ import ( var calendarSettingsListCmd = &cobra.Command{ Use: "list", Short: "Returns all user settings for the authenticated user.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/settings/list", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/settings/list", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/colors.go b/cmd/colors.go index 6ed7d84a..7728f28d 100644 --- a/cmd/colors.go +++ b/cmd/colors.go @@ -29,7 +29,7 @@ import ( var colorsCmd = &cobra.Command{ Use: "colors", Short: "Show Calendar and Event color definitions (Part of Calendar API)", - Long: `Implements the API documented at https://developers.google.com/calendar/v3/reference/colors`, + Long: `Implements the API documented at https://developers.google.com/calendar/api/v3/reference/colors`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { err := cmd.Help() diff --git a/cmd/colors_get.go b/cmd/colors_get.go index 84f13d57..658547e9 100644 --- a/cmd/colors_get.go +++ b/cmd/colors_get.go @@ -30,7 +30,7 @@ import ( var colorsGetCmd = &cobra.Command{ Use: "get", Short: "Returns the color definitions for calendars and events.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/colors/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/colors/get", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events.go b/cmd/events.go index 0d9e7894..3eb2dc74 100644 --- a/cmd/events.go +++ b/cmd/events.go @@ -35,7 +35,7 @@ var eventsCmd = &cobra.Command{ Short: "Manage events in users' calendars (Part of Calendar API)", Long: `This API only works in the user's context. Set the subject to the user's email address to use this API! -Implements the API documented at https://developers.google.com/calendar/v3/reference/events`, +Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { err := cmd.Help() diff --git a/cmd/events_delete.go b/cmd/events_delete.go index e5fd3976..5ce99594 100644 --- a/cmd/events_delete.go +++ b/cmd/events_delete.go @@ -30,7 +30,7 @@ import ( var eventsDeleteCmd = &cobra.Command{ Use: "delete", Short: "Deletes an event.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/delete", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/delete", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_delete_batch.go b/cmd/events_delete_batch.go index 0f5ec0a7..b0c238c1 100644 --- a/cmd/events_delete_batch.go +++ b/cmd/events_delete_batch.go @@ -31,7 +31,7 @@ import ( var eventsDeleteBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch deletes events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/delete", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/delete", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_get.go b/cmd/events_get.go index a7bf11ad..cfad7d56 100644 --- a/cmd/events_get.go +++ b/cmd/events_get.go @@ -30,7 +30,7 @@ import ( var eventsGetCmd = &cobra.Command{ Use: "get", Short: "Returns an event.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/get", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_get_batch.go b/cmd/events_get_batch.go index 63a62db0..f7ec8dc1 100644 --- a/cmd/events_get_batch.go +++ b/cmd/events_get_batch.go @@ -32,7 +32,7 @@ import ( var eventsGetBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch returns events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/get", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/get", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_import.go b/cmd/events_import.go index 41863987..d9c78abf 100644 --- a/cmd/events_import.go +++ b/cmd/events_import.go @@ -31,7 +31,7 @@ var eventsImportCmd = &cobra.Command{ Use: "import", Short: `Imports an event. This operation is used to add a private copy of an existing event to a calendar.`, - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/import", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/import", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_import_batch.go b/cmd/events_import_batch.go index 58a6ff0c..9620efdc 100644 --- a/cmd/events_import_batch.go +++ b/cmd/events_import_batch.go @@ -32,7 +32,7 @@ import ( var eventsImportBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch imports events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/import", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/import", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_insert.go b/cmd/events_insert.go index 554cba25..7bada742 100644 --- a/cmd/events_insert.go +++ b/cmd/events_insert.go @@ -30,7 +30,7 @@ import ( var eventsInsertCmd = &cobra.Command{ Use: "insert", Short: "Creates an event.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/insert", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/insert", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_insert_batch.go b/cmd/events_insert_batch.go index 7a51dddb..1d9c8d97 100644 --- a/cmd/events_insert_batch.go +++ b/cmd/events_insert_batch.go @@ -32,7 +32,7 @@ import ( var eventsInsertBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch inserts events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/insert", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/insert", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_instances.go b/cmd/events_instances.go index 5c3905d4..2bb04982 100644 --- a/cmd/events_instances.go +++ b/cmd/events_instances.go @@ -31,7 +31,7 @@ import ( var eventsInstancesCmd = &cobra.Command{ Use: "instances", Short: "Returns instances of the specified recurring event.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/instances", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/instances", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_instances_batch.go b/cmd/events_instances_batch.go index 6ce2606a..b53da85c 100644 --- a/cmd/events_instances_batch.go +++ b/cmd/events_instances_batch.go @@ -32,7 +32,7 @@ import ( var eventsInstancesBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch returns instances of events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/instances", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/instances", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_list.go b/cmd/events_list.go index ae49f9bf..d0ab277f 100644 --- a/cmd/events_list.go +++ b/cmd/events_list.go @@ -31,7 +31,7 @@ import ( var eventsListCmd = &cobra.Command{ Use: "list", Short: "Returns events on the specified calendar.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/list", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/list", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_list_batch.go b/cmd/events_list_batch.go index 4ca7e608..14d56cab 100644 --- a/cmd/events_list_batch.go +++ b/cmd/events_list_batch.go @@ -32,7 +32,7 @@ import ( var eventsListBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch lists events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/list", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/list", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_move.go b/cmd/events_move.go index d79e1699..86cfe78f 100644 --- a/cmd/events_move.go +++ b/cmd/events_move.go @@ -30,7 +30,7 @@ import ( var eventsMoveCmd = &cobra.Command{ Use: "move", Short: "Moves an event to another calendar, i.e. changes an event's organizer.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/move", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/move", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_move_batch.go b/cmd/events_move_batch.go index 5bb3b1db..479d5cfb 100644 --- a/cmd/events_move_batch.go +++ b/cmd/events_move_batch.go @@ -32,7 +32,7 @@ import ( var eventsMoveBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch moves events to other calendars, i.e. changes an events' organizer using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/move", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/move", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_patch.go b/cmd/events_patch.go index f3d9eef3..47356bff 100644 --- a/cmd/events_patch.go +++ b/cmd/events_patch.go @@ -30,7 +30,7 @@ import ( var eventsPatchCmd = &cobra.Command{ Use: "patch", Short: "Updates an event. This method supports patch semantics.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/patch", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/patch", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_patch_batch.go b/cmd/events_patch_batch.go index 5a0ae0a6..ea989882 100644 --- a/cmd/events_patch_batch.go +++ b/cmd/events_patch_batch.go @@ -32,7 +32,7 @@ import ( var eventsPatchBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch patches events using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/patch", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/patch", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/events_quickadd.go b/cmd/events_quickadd.go index 288a791f..d23ac5a7 100644 --- a/cmd/events_quickadd.go +++ b/cmd/events_quickadd.go @@ -30,7 +30,7 @@ import ( var eventsQuickAddCmd = &cobra.Command{ Use: "quickAdd", Short: "Creates an event based on a simple text string.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/quickAdd", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/quickAdd", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/events_quickadd_batch.go b/cmd/events_quickadd_batch.go index f7b07b9c..b0b3be27 100644 --- a/cmd/events_quickadd_batch.go +++ b/cmd/events_quickadd_batch.go @@ -32,7 +32,7 @@ import ( var eventsQuickAddBatchCmd = &cobra.Command{ Use: "batch", Short: "Batch creates events based on simple text strings using a CSV file as input.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/events/quickAdd", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/events/quickAdd", Annotations: map[string]string{ "crescendoAttachToParent": "true", }, diff --git a/cmd/freebusy.go b/cmd/freebusy.go index ca168ad4..cd3a7889 100644 --- a/cmd/freebusy.go +++ b/cmd/freebusy.go @@ -30,7 +30,7 @@ import ( var freeBusyCmd = &cobra.Command{ Use: "freeBusy", Short: "Query free/busy information (Part of Calendar API)", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/freebusy", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/freebusy", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { err := cmd.Help() diff --git a/cmd/freebusy_query.go b/cmd/freebusy_query.go index 363e5d24..e07c4214 100644 --- a/cmd/freebusy_query.go +++ b/cmd/freebusy_query.go @@ -30,7 +30,7 @@ import ( var freeBusyQueryCmd = &cobra.Command{ Use: "query", Short: "Returns free/busy information for a set of calendars.", - Long: "Implements the API documented at https://developers.google.com/calendar/v3/reference/freebusy/query", + Long: "Implements the API documented at https://developers.google.com/calendar/api/v3/reference/freebusy/query", DisableAutoGenTag: true, Run: func(cmd *cobra.Command, _ []string) { flags := gsmhelpers.FlagsToMap(cmd.Flags()) diff --git a/cmd/root.go b/cmd/root.go index d8e2e9e3..60aca482 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -141,7 +141,7 @@ For documentation see https://gsm.hayashi-ke.online.`, log.Fatalln(err) } }, - Version: "v0.10.0", + Version: "v0.11.0", } // Execute adds all child commands to the root command and sets flags appropriately. diff --git a/go.mod b/go.mod index 2e8b3206..12bfb603 100644 --- a/go.mod +++ b/go.mod @@ -1,46 +1,50 @@ module github.com/hanneshayashi/gsm -go 1.20 +go 1.21 require ( cloud.google.com/go/compute/metadata v0.2.3 github.com/cenkalti/backoff/v4 v4.2.1 - github.com/google/uuid v1.3.0 + github.com/google/uuid v1.4.0 github.com/mitchellh/go-homedir v1.1.0 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 - github.com/spf13/viper v1.16.0 + github.com/spf13/viper v1.17.0 golang.org/x/net v0.17.0 - golang.org/x/oauth2 v0.9.0 - google.golang.org/api v0.128.0 + golang.org/x/oauth2 v0.13.0 + google.golang.org/api v0.148.0 gopkg.in/yaml.v3 v3.0.1 ) require ( - cloud.google.com/go/compute v1.20.1 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect + cloud.google.com/go/compute v1.23.2 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/google/s2a-go v0.1.4 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/google/s2a-go v0.1.7 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.0.8 // indirect - github.com/spf13/afero v1.9.5 // indirect + github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/sagikazarmark/locafero v0.3.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/spf13/afero v1.10.0 // indirect github.com/spf13/cast v1.5.1 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/subosito/gotenv v1.4.2 // indirect + github.com/subosito/gotenv v1.6.0 // indirect go.opencensus.io v0.24.0 // indirect + go.uber.org/multierr v1.11.0 // indirect golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/sys v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/grpc v1.56.3 // indirect - google.golang.org/protobuf v1.30.0 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect + google.golang.org/grpc v1.59.0 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect ) diff --git a/go.sum b/go.sum index f69b9538..5b7edd4f 100644 --- a/go.sum +++ b/go.sum @@ -23,8 +23,8 @@ cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvf cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.2 h1:nWEMDhgbBkBJjfpVySqU4jgWdc22PLR0o4vEexZHers= +cloud.google.com/go/compute v1.23.2/go.mod h1:JJ0atRC0J/oWYiiVBmsSsrRnh92DhZPG4hFDcR04Rns= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= @@ -42,11 +42,9 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -54,25 +52,21 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -120,7 +114,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -135,19 +130,18 @@ github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.2.5 h1:UR4rDjcgpgEnqpIEvkiqTYKBCKLNmlge2eVjoZfySzM= -github.com/googleapis/enterprise-certificate-proxy v0.2.5/go.mod h1:RxW0N9901Cko1VOCW3SXCpWP+mlIEkk2tP7jnHy9a3w= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= @@ -162,54 +156,60 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= -github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= +github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sagikazarmark/locafero v0.3.0 h1:zT7VEGWC2DTflmccN/5T1etyKvxSxpHsjb9cJvm4SvQ= +github.com/sagikazarmark/locafero v0.3.0/go.mod h1:w+v7UsPNFwzF1cHuOajOOzoq4U7v/ig1mpRjqV+Bu1U= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA= github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= -github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= -github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= +github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= +github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= -github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= +github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= -github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= +github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -223,7 +223,8 @@ go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -231,7 +232,6 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= @@ -245,6 +245,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -314,8 +316,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.9.0 h1:BPpt2kU7oMRq3kCHAA1tbSEshXRw1LpG2ztgDwrzuAs= -golang.org/x/oauth2 v0.9.0/go.mod h1:qYgFZaFiu6Wg24azG8bdV52QJXJGbZzIIsRCdVKzbLw= +golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -327,7 +329,8 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -365,7 +368,6 @@ golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -455,16 +457,17 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.128.0 h1:RjPESny5CnQRn9V6siglged+DZCgfu9l6mO9dkX9VOg= -google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750= +google.golang.org/api v0.148.0 h1:HBq4TZlN4/1pNcu0geJZ/Q50vIwIXT532UIMYoo0vOs= +google.golang.org/api v0.148.0/go.mod h1:8/TBgwaKjfqTdacOJrOv2+2Q6fBDU1uHKK06oGSkxzU= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -488,7 +491,6 @@ google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= @@ -502,10 +504,12 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc h1:8DyZCyvI8mE1IdLy/60bS+52xfymkE72wv1asokgtao= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc h1:kVKPf/IiYSBWEWtkIn6wZXwWGCnLKcC8oWfZvXjsGnM= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a h1:fwgW9j3vHirt4ObdHoYNwuO24BEZjSzbh+zPaNWoiY8= +google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:EMfReVxb80Dq1hhioy0sOsY9jCE46YDgHlJ7fWVUWRE= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 h1:W18sezcAYs+3tDZX4F80yctqa12jcP1PUS2gQu1zTPU= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b h1:ZlWIi1wSK56/8hn4QcBp/j9M7Gt3U/3hZw3mC7vDICo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -519,14 +523,11 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc= -google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -539,16 +540,16 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/gsmconfig/general.go b/gsmconfig/general.go index 59d880b5..6797b35b 100644 --- a/gsmconfig/general.go +++ b/gsmconfig/general.go @@ -30,6 +30,7 @@ import ( "google.golang.org/api/calendar/v3" ci "google.golang.org/api/cloudidentity/v1" "google.golang.org/api/drive/v3" + "google.golang.org/api/drivelabels/v2" "google.golang.org/api/gmail/v1" "google.golang.org/api/gmailpostmastertools/v1" "google.golang.org/api/groupssettings/v1" @@ -90,8 +91,8 @@ func GetDefaultScopes() []string { gmailpostmastertools.PostmasterReadonlyScope, "https://www.googleapis.com/auth/admin.contact.delegation", "https://www.googleapis.com/auth/admin.chrome.printers", - "https://www.googleapis.com/auth/drive.labels", - "https://www.googleapis.com/auth/drive.admin.labels", + drivelabels.DriveLabelsScope, + drivelabels.DriveAdminLabelsScope, } }