debian-forge-composer/internal/target/local_target.go
Ondřej Budai df7e14d5eb target: add new fields to target and cleanup
We need some more fields in target struct to support weldr API. This commit
introduces them. Also a bit of cleanup is done.
2019-12-01 00:05:17 +01:00

11 lines
244 B
Go

package target
type LocalTargetOptions struct {
Location string `json:"location"`
}
func (LocalTargetOptions) isTargetOptions() {}
func NewLocalTarget(options *LocalTargetOptions) *Target {
return newTarget("org.osbuild.local", options)
}