style - add Render func
This commit is contained in:
parent
5458ca37ba
commit
ba8baf7457
|
@ -135,3 +135,9 @@ func (s *Styles) Keyval(key string, val string, names ...string) {
|
|||
sv.Apply(val),
|
||||
)
|
||||
}
|
||||
|
||||
func (s *Styles) Render() {
|
||||
for name, style := range s.List {
|
||||
style.Echof("it's style : %s\n", name)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user