Skip to content

Commit

Permalink
Merge pull request #39 from yuler/patch-1
Browse files Browse the repository at this point in the history
Update 0.1.md
  • Loading branch information
hyper0x committed May 14, 2021
2 parents a474a19 + cea1002 commit 1933a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 0.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ hc@ubt:~/golang/goc2p/src/basic/pkginit$ ls
initpkg_demo initpkg_demo.go
```

我们在执行命令`go build -v initpkg_demo.go`之后被打印出的`command-line-arguments`”`就是命令程序为命令源码文件initpkg_demo.go生成的虚拟代码包的包名。顺带说一句,
我们在执行命令`go build -v initpkg_demo.go`之后被打印出的`command-line-arguments`就是命令程序为命令源码文件initpkg_demo.go生成的虚拟代码包的包名。顺带说一句,

命令`go build`会把编译命令源码文件后生成的结果文件存放到执行该命令时所在的目录下。这个所说的结果文件就是与命令源码文件对应的可执行文件。它的名称会与命令源码文件的主文件名相同。

Expand Down

0 comments on commit 1933a84

Please sign in to comment.