Guest User

Untitled

a guest
Sep 15th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.19 KB | None | 0 0
  1. package main
  2.  
  3. import "net/http"
  4.  
  5. var counter uint8
  6. func main() {
  7.     http.HandleFuc("/", func() {
  8.         counter++
  9.         fmt.Printf("Contador en %d", counter)
  10.     });
  11.     http.ListenAndServe(":8080", nil)
  12. }
Add Comment
Please, Sign In to add comment