Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- "log"
- "net/http"
- )
- func main() {
- PORT := 9065
- http.Handle("/", http.FileServer(http.Dir("polymer")))
- fmt.Printf("Server Running on Port %d", PORT)
- log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", PORT), nil))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement