github.com/blend/go-sdk@v1.20220411.3/stringutil/csv.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package stringutil
     9  
    10  import "strings"
    11  
    12  // CSV produces a csv from a given set of values.
    13  func CSV(values []string) string {
    14  	return strings.Join(values, ",")
    15  }