mirror of https://github.com/hashicorp/packer
parent
ec22477185
commit
87e7f17aa7
@ -0,0 +1,4 @@
|
||||
package build
|
||||
|
||||
type config struct {
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package build
|
||||
|
||||
import "strings"
|
||||
|
||||
type stringSliceValue []string
|
||||
|
||||
func (s *stringSliceValue) String() string {
|
||||
return strings.Join(*s, ",")
|
||||
}
|
||||
|
||||
func (s *stringSliceValue) Set(value string) error {
|
||||
*s = strings.Split(value, ",")
|
||||
return nil
|
||||
}
|
||||
Loading…
Reference in new issue