Sample go project
This commit is contained in:
parent
52559a3072
commit
de293b5f37
5 changed files with 38 additions and 1 deletions
15
cmd/sample/main.go
Normal file
15
cmd/sample/main.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"repobase.net/j/internal/greet"
|
||||
"repobase.net/j/pkg/util"
|
||||
)
|
||||
|
||||
func main() {
|
||||
name := "World"
|
||||
message := greet.Hello(name)
|
||||
fmt.Println(message)
|
||||
|
||||
util.PrintVersion()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue