Update setup tool.
This commit is contained in:
parent
4714d8754c
commit
c6f045c7eb
2
main.go
2
main.go
@ -28,7 +28,7 @@ func main() {
|
||||
func setup() {
|
||||
// 输入新的 go.mod module
|
||||
var newModName string
|
||||
fmt.Printf("Enter new module name: ")
|
||||
fmt.Printf("Enter new module name(eg: github.com/<your-username>/<your-project-name>): ")
|
||||
_, err := fmt.Scanln(&newModName)
|
||||
if err != nil {
|
||||
fmt.Printf("Unable get new module name: %v\n", err)
|
||||
|
Loading…
Reference in New Issue
Block a user