Skip to content

Commit b7084b8

Browse files
committed
Added initial project for go called hello_go
1 parent f34b6c5 commit b7084b8

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

hello_go/go.mod

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module hello.go
2+
3+
go 1.20
4+
5+
require rsc.io/quote v1.5.2
6+
7+
require (
8+
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
9+
rsc.io/sampler v1.3.0 // indirect
10+
)

hello_go/go.sum

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:qgOY6WgZOaTkIIMiVjBQcw93ERBE4m30iBm00nkL0i8=
2+
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
3+
rsc.io/quote v1.5.2 h1:w5fcysjrx7yqtD/aO+QwRjYZOKnaM9Uh2b40tElTs3Y=
4+
rsc.io/quote v1.5.2/go.mod h1:LzX7hefJvL54yjefDEDHNONDjII0t9xZLPXsUe+TKr0=
5+
rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4=
6+
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

hello_go/hello.go

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
6+
"rsc.io/quote"
7+
)
8+
9+
func main() {
10+
fmt.Println(quote.Go())
11+
}

0 commit comments

Comments
 (0)