1 개요[ | ]
- go mod init
Console
Copy
root@localhost:~# mkdir hello1
root@localhost:~# cd hello1/
root@localhost:~/hello1# go mod init example.com/hello1
go: creating new go.mod: module example.com/hello1
root@localhost:~/hello1# ll
total 12
drwxr-xr-x 2 root root 4096 Nov 30 05:44 ./
drwx------ 1 root root 4096 Nov 30 05:44 ../
-rw-r--r-- 1 root root 35 Nov 30 05:44 go.mod
root@localhost:~/hello1# cat go.mod
module example.com/hello1
go 1.15
2 같이 보기[ | ]
3 참고[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.