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