Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cmdbanner (0.37 sec)

  1. src/cmd/dist/main.go

    version                 print Go version
    
    All commands take -v flags to emit extra information.
    `)
    	xexit(2)
    }
    
    // commands records the available commands.
    var commands = map[string]func(){
    	"banner":    cmdbanner,
    	"bootstrap": cmdbootstrap,
    	"clean":     cmdclean,
    	"env":       cmdenv,
    	"install":   cmdinstall,
    	"list":      cmdlist,
    	"test":      cmdtest,
    	"version":   cmdversion,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    		install(arg)
    	}
    }
    
    // Clean deletes temporary objects.
    func cmdclean() {
    	xflagparse(0)
    	clean()
    }
    
    // Banner prints the 'now you've installed Go' banner.
    func cmdbanner() {
    	xflagparse(0)
    	banner()
    }
    
    func banner() {
    	if vflag > 0 {
    		xprintf("\n")
    	}
    	xprintf("---\n")
    	xprintf("Installed Go for %s/%s in %s\n", goos, goarch, goroot)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top