mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
17 lines
212 B
Go
17 lines
212 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type MultiOption []string
|
|
|
|
func (h *MultiOption) String() string {
|
|
return fmt.Sprint(*h)
|
|
}
|
|
|
|
func (h *MultiOption) Set(value string) error {
|
|
*h = append(*h, value)
|
|
return nil
|
|
}
|