MCPcopy Create free account
hub / github.com/coder/coder / joinSlice

Function joinSlice

codersdk/organizations.go:473–479  ·  view source on GitHub ↗
(s []T)

Source from the content-addressed store, hash-verified

471}
472
473func joinSlice[T ~string](s []T) string {
474 var ss []string
475 for _, v := range s {
476 ss = append(ss, string(v))
477 }
478 return strings.Join(ss, ",")
479}
480
481func joinSliceStringer[T fmt.Stringer](s []T) string {
482 var ss []string

Calls

no outgoing calls

Tested by

no test coverage detected