Skip to content

Commit dda9e9b

Browse files
tweak
1 parent 4733eb7 commit dda9e9b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

go.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ Modules are now released with GO 1.12 and above
8282

8383
Create a module
8484
```bash
85-
[dev] ~/Study/go/helloworld$ go mod init github.com/you/helloworld
86-
go: creating new go.mod: module github.com/you/helloworld
85+
[dev] ~/Study/go/helloworld$ go mod init helloworld
86+
go: creating new go.mod: module helloworld
8787
[dev] ~/Study/go/helloworld$ touch main.go
8888
```
8989

@@ -100,6 +100,8 @@ func main() {
100100
}
101101
```
102102

103+
NOTE: adding a new line with fmt. should give you intellisense
104+
103105
build and run
104106
```bash
105107
[dev] ~/Study/go/helloworld$ gr

0 commit comments

Comments
 (0)