package main import(
"net/http"
"fmt"
) func main(){
h := http.FileServer(http.Dir("."))
var port string
fmt.Printf("input port:")
fmt.Scanf("%s",&port)
http.ListenAndServe(":"+port,h)
}
package main import(
"net/http"
"fmt"
) func main(){
h := http.FileServer(http.Dir("."))
var port string
fmt.Printf("input port:")
fmt.Scanf("%s",&port)
http.ListenAndServe(":"+port,h)
}