github.com/web-platform-tests/wpt.fyi@v0.0.0-20240530210107-70cf978996f1/webapp/insights_handler.go (about) 1 // Copyright 2018 The WPT Dashboard Project. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package webapp 6 7 import ( 8 "net/http" 9 ) 10 11 // insightsHandler handles the view listing a range of useful queries for the 12 // wpt results. 13 func insightsHandler(w http.ResponseWriter, r *http.Request) { 14 RenderTemplate(w, r, "insights.html", nil) 15 }