Go Web端點找不到靜態index.html文件
文章簡介:這是我的程式碼:packagemainimport("fmt""log""net/http")constcustomport="3001"funcmain(){fileserver:=http.fileserver(http.dir("./static"))port:= fmt.sprintf(":%s",customport)http.handle("/",fileserver)fmt.print
2024-02-09
評論 0
1147