Golang Web Application
GoLang Web App基本设置
1.导入库
导入fmt和net/http,http建立一个/和编写一个indexPage的函数,fmt编写一个写Hello world!
package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/", indexPage)
http.ListenAndServe(":8000", nil)
}
func indexPage(writer http.ResponseWriter, request
![[数据结构复习]自用大纲](https://img-blog.csdnimg.cn/c312aa0711b64f7c83fecdace5a2c978.png#pic_center)














![[前端笔记——WEB基础] 1.WEB基本概念](https://img-blog.csdnimg.cn/82d7df4ff0b2451b9cb26c015f7ce2cb.png)



