MCPcopy Create free account
hub / github.com/auth0/auth0-cli / stringSliceToPtr

Function stringSliceToPtr

internal/cli/apps.go:1093–1098  ·  view source on GitHub ↗
(s []string)

Source from the content-addressed store, hash-verified

1091}
1092
1093func stringSliceToPtr(s []string) *[]string {
1094 if s == nil {
1095 return nil
1096 }
1097 return &s
1098}
1099
1100func excludeEmptyEntries(s []string) []string {
1101 result := make([]string, 0, len(s))

Callers 1

createAppCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected