Use camelCase for fields

Signed-off-by: rajhawaldar <rajhawaldar.in@gmail.com>
This commit is contained in:
rajhawaldar 2023-09-29 13:02:59 +05:30
parent 965eabd503
commit 79296c0a62
No known key found for this signature in database
GPG key ID: 1979450ED0BBD661
2 changed files with 5 additions and 5 deletions

View file

@ -25,8 +25,8 @@ var deployKeyFields = []string{
"id",
"key",
"title",
"created_at",
"read_only",
"createdAt",
"readOnly",
}
func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command {

View file

@ -32,11 +32,11 @@ type ListOptions struct {
}
var secretFields = []string{
"selected_repos_url",
"selectedReposURL",
"name",
"visibility",
"updated_at",
"num_selected_repos",
"updatedAt",
"numSelectedRepos",
}
func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command {