Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
cmd /
go /
internal /
modcmd /
[ HOME SHELL ]
Name
Size
Permission
Action
download.go
4.99
KB
-rw-r--r--
edit.go
12.15
KB
-rw-r--r--
graph.go
2.04
KB
-rw-r--r--
init.go
1.47
KB
-rw-r--r--
mod.go
805
B
-rw-r--r--
tidy.go
2.23
KB
-rw-r--r--
vendor.go
7.24
KB
-rw-r--r--
verify.go
2.8
KB
-rw-r--r--
why.go
3.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : init.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // go mod init package modcmd import ( "cmd/go/internal/base" "cmd/go/internal/modload" "cmd/go/internal/work" "os" "strings" ) var cmdInit = &base.Command{ UsageLine: "go mod init [module]", Short: "initialize new module in current directory", Long: ` Init initializes and writes a new go.mod to the current directory, in effect creating a new module rooted at the current directory. The file go.mod must not already exist. If possible, init will guess the module path from import comments (see 'go help importpath') or from version control configuration. To override this guess, supply the module path as an argument. `, Run: runInit, } func init() { work.AddModCommonFlags(cmdInit) } func runInit(cmd *base.Command, args []string) { modload.CmdModInit = true if len(args) > 1 { base.Fatalf("go mod init: too many arguments") } if len(args) == 1 { modload.CmdModModule = args[0] } if os.Getenv("GO111MODULE") == "off" { base.Fatalf("go mod init: modules disabled by GO111MODULE=off; see 'go help modules'") } modFilePath := modload.ModFilePath() if _, err := os.Stat(modFilePath); err == nil { base.Fatalf("go mod init: go.mod already exists") } if strings.Contains(modload.CmdModModule, "@") { base.Fatalf("go mod init: module path must not contain '@'") } modload.InitMod() // does all the hard work }
Close