default constructor

This commit is contained in:
bel
2023-03-01 22:55:11 -07:00
parent 4c78f40f0f
commit 011e37a8fa
4 changed files with 20 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
package input
type Input interface {
Read() []byte
Read() []Button
}
func New() Input {
return NewRandom('a', 'g')
}