2020-12-09 15:31:34 +00:00
|
|
|
package output
|
|
|
|
|
2021-08-31 08:59:45 +00:00
|
|
|
import "fmt"
|
|
|
|
|
2020-12-09 15:31:34 +00:00
|
|
|
type OutputConfig struct {
|
2021-09-01 08:39:17 +00:00
|
|
|
Key string
|
|
|
|
Path string
|
2020-12-09 15:31:34 +00:00
|
|
|
}
|
2021-08-31 08:59:45 +00:00
|
|
|
|
|
|
|
func (o *OutputConfig) String() string {
|
2021-09-07 13:43:40 +00:00
|
|
|
return fmt.Sprintf("%s://%s", o.Key, o.Path)
|
2021-08-31 08:59:45 +00:00
|
|
|
}
|