Debian Codegraph @

cmd/shell/main.go

raw symbols SCIP
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 }