superfly / flyctl

Empty slice literal used to declare a variable GO-W1027
Anti-pattern
Minor
2 occurrences in this check
Empty slice literal of type "[]App" used to define "apps"
 25
 26func (client *Client) GetAppsForOrganization(ctx context.Context, orgID string) ([]App, error) {
 27	more := true
 28	apps := []App{} 29	var cursor string
 30
 31	for more {
Empty slice literal of type "[]App" used to define "apps"
  6
  7func (client *Client) GetApps(ctx context.Context, role *string) ([]App, error) {
  8	more := true
  9	apps := []App{} 10	var cursor string
 11
 12	for more {