style - add Render func

This commit is contained in:
Mahdi Abu Yasmine 2023-11-05 13:55:56 +01:00
parent 5458ca37ba
commit ba8baf7457

View File

@ -135,3 +135,9 @@ func (s *Styles) Keyval(key string, val string, names ...string) {
sv.Apply(val), sv.Apply(val),
) )
} }
func (s *Styles) Render() {
for name, style := range s.List {
style.Echof("it's style : %s\n", name)
}
}