用go写简单的文件服务器

package main

import "net/http"

func main(){
	h := http.FileServer(http.Dir("/Users/aa/go_file_svr"))
	http.ListenAndServe(":9999",h)
}

你可能感兴趣的:(用go写简单的文件服务器)