mirror of https://gitee.com/openkylin/genmai.git
编写src/genmai/Interpreter/Interpreter.go:InterIO结构体
This commit is contained in:
parent
e57f9e739b
commit
c52679dd05
|
@ -29,10 +29,12 @@
|
||||||
package Interpreter
|
package Interpreter
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"bufio"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InterIO struct {
|
type InterIO struct {
|
||||||
|
reader *bufio.Reader
|
||||||
|
writer *bufio.Writer
|
||||||
}
|
}
|
||||||
|
|
||||||
type Interpreter interface {
|
type Interpreter interface {
|
||||||
|
|
Loading…
Reference in New Issue