# 基础

# 初始化项目

go mod init github.com/bihell/dice2/twitter
1

# Hello World

package main

import "fmt"

func main() {
	fmt.Println("Hello world")
}

go run cmd/graphqlserver/main.go 
1
2
3
4
5
6
7
8
9

# 编译执行

go build cmd/graphqlserver/main.go 
./main
1
2
更新时间: 12/18/2023, 3:47:37 PM