☰
Debian Codegraph
@
0.3.1-1.1
/
/
cmd
/
shell
/
main.go
☽
☼
cmd/shell/main.go
code
plain
raw
symbols
SCIP
Expat
2018 Tom Payne
debian/copyright
1
package
main
2
3
import
(
4
"fmt"
5
"os"
6
7
"github.com/twpayne/go-shell"
8
)
9
10
func
main() {
11
currentUserShell, ok := shell.
CurrentUserShell
()
12
fmt.
Println
(currentUserShell)
13
14
if
!ok {
15
os.
Exit
(
1
)
16
}
17
}