Difference between revisions for go
|
← Previous edit
|
Next edit →
|
| Version1 | Version2 | Differences |
|---|---|---|
| 75 | 75 | |
| 76 | 76 | $ godoc -http=:8181 |
| 77 | 77 | %% |
| 78 | ||
| 79 | %% | |
| 80 | ||
| 81 | ## Go uses static linking by default | |
| 82 | $ go build helloworld.go | |
| 83 | ||
| 84 | $ ls -l | |
| 85 | total 752 | |
| 86 | -rwxr-x--- 1 ebal ebal 1855827 Oct 14 23:07 helloworld | |
| 87 | -rw-r----- 1 ebal ebal 109 Oct 14 23:05 helloworld.go | |
| 88 | ||
| 89 | $ ./helloworld | |
| 90 | Hello World! | |
| 91 |