platform: Add group interface

This commit is contained in:
世界 2023-07-02 16:45:30 +08:00
parent 5ad0ea2b5a
commit 9c8565cf21
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
25 changed files with 576 additions and 95 deletions

View file

@ -28,8 +28,9 @@ func NewObservableFactory(formatter Formatter, writer io.Writer, platformWriter
factory := &observableFactory{
formatter: formatter,
platformFormatter: Formatter{
BaseTime: formatter.BaseTime,
DisableColors: C.IsDarwin || C.IsIos,
BaseTime: formatter.BaseTime,
DisableColors: C.IsDarwin || C.IsIos,
DisableLineBreak: true,
},
writer: writer,
platformWriter: platformWriter,