package toml import "github.com/pelletier/go-toml/v2" func unmarshalContent(data []byte, target any) error { return toml.Unmarshal(data, target) } func marshalSection(sectionData any) ([]byte, error) { return toml.Marshal(sectionData) }