package config type DnsConfig struct { UseSystemd bool `toml:"use_systemd"` baseRoleConfig } func (c DnsConfig) Validate() error { return nil } func (c *DnsConfig) Merge(other DnsConfig) { if other.set { c.set = other.set } if other.UseSystemd { c.UseSystemd = other.UseSystemd } }