simplify the driver interface
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package common
|
||||
|
||||
import "strings"
|
||||
|
||||
type Driver interface {
|
||||
Read() (any, error)
|
||||
Render(*strings.Builder) error
|
||||
}
|
||||
Reference in New Issue
Block a user