func ServeListener(l net.Listener, handler func() Handler) error {
	for {
		conn, err := l.Accept()
		if err != nil {
			return err
		}
		go Serve(conn, handler())
	}
}
// ServeListener accepts connections, calls the provided function to retrieve a
// new handler, calling Serve with the connection and handler.
ServeListener accepts connections, calls the provided function to retrieve a
new handler, calling Serve with the connection and handler.
// ServeListener accepts connections calls the provided function to retrieve a // new handler calling Serve with the connection and handler .
func ServeListener(l net.Listener, handler func() Handler) error {
	for {
		conn, err := l.Accept()
		if err != nil {
			return err
		}
		go Serve(conn, handler())
	}
}
func ServeListener ( l net . Listener , handler func ( ) Handler ) error { for { conn , err := l . Accept ( ) if err != nil { return err } go Serve ( conn , handler ( ) ) } }
ServeListener accepts connections, calls the provided function to retrieve a
new handler, calling Serve with the connection and handler.
ServeListener accepts connections calls the provided function to retrieve a new handler calling Serve with the connection and handler .