编写src/genmai/Interpreter/Interpreter.go:InterIO结构体

This commit is contained in:
chenxinquan 2022-11-07 12:04:07 +08:00
parent e57f9e739b
commit c52679dd05
1 changed files with 3 additions and 1 deletions

View File

@ -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 {