2024-05-11 15:30:52 +02:00

28 lines
365 B
Go

package converter
// Name or Section
type order interface {
Value() string
}
// Section
type orderSection struct {
value string
}
func (s orderSection) Value() string {
return s.value
}
// Name
//
// isString is used to quote the default value.
type orderName struct {
value string
isString bool
}
func (s orderName) Value() string {
return s.value
}