WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 106ba9a

Browse files
Add comment clarifying the usage of public methods in stdioHandler interface
1 parent a668230 commit 106ba9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

executable/stdio_handler.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import (
99
"github.com/creack/pty"
1010
)
1111

12+
// (TO_DELETE) This comment will removed after PR review
13+
// Went with uppercase(public) for interface methods, and used lowercase(private) for implementing
14+
// struct's method just for visual differentiation
15+
// Since this interface is private, it should not affect its usage
16+
1217
type stdioHandler interface {
1318

1419
// getStdin(), getStdout(), and getStderr() are only used privately

0 commit comments

Comments
 (0)