Advertisement
Uhuuuyy

Untitled

Jul 13th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. package main
  2.  
  3. import (
  4. "fmt"
  5. "log"
  6. "net/http"
  7. )
  8.  
  9. func main() {
  10. PORT := ":8032" // NPM Belakang kalian
  11. http.Handle("/", http.FileServer(http.Dir("polymer")))
  12. fmt.Println("Starting server on port ", PORT)
  13. log.Fatal(http.ListenAndServe(PORT, nil))
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement