GopherTerminal for example: Its a "huge" structure with different public methods
| 40 | // GopherTerminal for example: |
| 41 | // Its a "huge" structure with different public methods |
| 42 | type GopherTerminal struct { |
| 43 | // user is a current authorized user |
| 44 | User string |
| 45 | } |
| 46 | |
| 47 | // Execute just runs known commands for current authorized user |
| 48 | func (gt *GopherTerminal) Execute(cmd string) (resp string, err error) { |
nothing calls this directly
no outgoing calls
no test coverage detected