feat: initialize new go project
This commit is contained in:
commit
16d58d8202
4
build.sh
Executable file
4
build.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
CGO_ENABLED=1 go build -C "$SCRIPT_DIR/main" -o ../start
|
||||
7
main/main.go
Normal file
7
main/main.go
Normal file
@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, world!")
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user