You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
165B

  1. package main
  2. import (
  3. "flag"
  4. "votes/http"
  5. )
  6. func main() {
  7. var l string
  8. flag.StringVar(&l, "l", "127.0.0.1:8080", "Listen")
  9. flag.Parse()
  10. _ = http.Start(l)
  11. }