bouncer/internal/format/prop.go

19 lines
234 B
Go
Raw Normal View History

2023-04-24 20:52:12 +02:00
package format
type Prop struct {
name string
label string
}
func (p *Prop) Name() string {
return p.name
}
func (p *Prop) Label() string {
return p.label
}
func NewProp(name, label string) Prop {
return Prop{name, label}
}