Skip to content

Commit fcc6d9f

Browse files
authored
Update README.md
1 parent 514b03d commit fcc6d9f

File tree

1 file changed

+1
-3
lines changed
  • copypasta/template/interactive_problem

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Interactive Problem Template
22

3-
You should implement this interface and use it both in `main.go` and `main_test.go`.
3+
To mock the IO part, implement this interface and use it both in `main.go` and `main_test.go`.
44

55
```go
66
type interaction interface {
@@ -9,5 +9,3 @@ type interaction interface {
99
printAnswer(answer)
1010
}
1111
```
12-
13-
In this way we can mock the IO part.

0 commit comments

Comments
 (0)