golang 静态文件资源服务器设置2 Main.go代码 mbed wmode="transparent" src="https://qq466862016.iteye.com/java...
packagemainimport"net/http"import"io"import"os"import"log"typeHttpHanderstruct{}typeMstringstringfuncmain(){mux:=http.NewServeMux()mux.Handle("/",HttpHander{})//获取当前路径wd,err:=os.Getwd()iferr!=nil{log.